Skip to content

Commit d63283e

Browse files
committed
Vendor nuget for CI
1 parent b24484d commit d63283e

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

Rakefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -103,13 +103,13 @@ task :nuget => ['nuget:pack', 'nuget:push']
103103
namespace :nuget do
104104
desc 'Create a nuget package'
105105
task :pack do
106-
sh "nuget pack -OutputDirectory #{ARCHIVE_DIR} -Properties Configuration=#{COMPILE_TARGET} src/#{ROOT_NAMESPACE}/#{ROOT_NAMESPACE}.csproj"
106+
sh "support/nuget pack -OutputDirectory #{ARCHIVE_DIR} -Properties Configuration=#{COMPILE_TARGET} src/#{ROOT_NAMESPACE}/#{ROOT_NAMESPACE}.csproj"
107107
end
108108

109109
desc 'Publish the nuget package'
110110
task :push do
111111
basename = "#{ROOT_NAMESPACE}.#{BUILD_VERSION}.nupkg"
112-
sh "nuget push #{File.join(ARCHIVE_DIR,basename)} #{ENV['NUGET_KEY']}"
112+
sh "support/nuget push #{File.join(ARCHIVE_DIR,basename)} #{ENV['NUGET_KEY']}"
113113
end
114114
end
115115

support/NuGet.exe

545 KB
Binary file not shown.

support/nuget

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
3+
FILEDIR="$( cd "$( dirname "$0" )" && pwd )"
4+
exec mono --runtime=4.0.30319.17020 "$FILEDIR/NuGet.exe" "$@"

0 commit comments

Comments
 (0)