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
2 changed files with 2 additions and 4 deletions
|
@ -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
|
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 $^
|
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:
|
nuget.exe:
|
||||||
wget 'https://nuget.org/nuget.exe'
|
wget 'https://dist.nuget.org/win-x86-commandline/latest/nuget.exe'
|
||||||
|
|
||||||
buildtemp:
|
buildtemp:
|
||||||
mkdir -p buildtemp
|
mkdir -p buildtemp
|
||||||
|
@ -229,7 +227,7 @@ clean:
|
||||||
|
|
||||||
# clean built stuff + prepare step
|
# clean built stuff + prepare step
|
||||||
cleanall: clean clean-native
|
cleanall: clean clean-native
|
||||||
rm -rf nuget.exe buildtemp xunittests.xml
|
rm -rf buildtemp xunittests.xml
|
||||||
|
|
||||||
docker-build:
|
docker-build:
|
||||||
docker build --no-cache=false -t image_ps .
|
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