Cache nuget.exe in scripts
Rather than downloading nuget.exe on every run, we can cache it, just not in monad-ext with a rule to copy it. Instead, there's a rule to refresh it from its canonical home. See http://dist.nuget.org/index.html
This commit is contained in:
parent
4682b26c08
commit
9124e4a328
|
@ -127,10 +127,8 @@ libps.so-test: $(addprefix dotnetlibs/, libps.so monad_native)
|
|||
dotnetlibs/api-ms-win-core-registry-l1-1-0.dll: ../src/win-dll/lib-api-ms-win-core-registry-l1-1-0.c
|
||||
gcc -o $@ -fPIC -shared -Wall $^
|
||||
|
||||
# this is the manual step that will install some stuff using nuget and do other things that can't be dependency
|
||||
# tracked that easily
|
||||
nuget.exe:
|
||||
wget 'https://nuget.org/nuget.exe'
|
||||
wget 'https://dist.nuget.org/win-x86-commandline/latest/nuget.exe'
|
||||
|
||||
buildtemp:
|
||||
mkdir -p buildtemp
|
||||
|
@ -229,7 +227,7 @@ clean:
|
|||
|
||||
# clean built stuff + prepare step
|
||||
cleanall: clean clean-native
|
||||
rm -rf nuget.exe buildtemp xunittests.xml
|
||||
rm -rf buildtemp xunittests.xml
|
||||
|
||||
docker-build:
|
||||
docker build --no-cache=false -t image_ps .
|
||||
|
|
BIN
scripts/nuget.exe
Normal file
BIN
scripts/nuget.exe
Normal file
Binary file not shown.
Loading…
Reference in a new issue