From: Rodrigo Kumpera Date: Thu, 16 Mar 2017 17:26:22 +0000 (-0700) Subject: [tools] Dep check the downloads to avoid the mistake fixed by the previous commit. X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=mono.git;a=commitdiff_plain;h=59e8fa77d7abc5e279c26e56fcae7a2c6b30a108 [tools] Dep check the downloads to avoid the mistake fixed by the previous commit. --- diff --git a/tools/nuget-hash-extractor/Makefile b/tools/nuget-hash-extractor/Makefile index 6a74c0d2783..371aca44bbf 100644 --- a/tools/nuget-hash-extractor/Makefile +++ b/tools/nuget-hash-extractor/Makefile @@ -4,17 +4,19 @@ SOURCES = \ nuget-hash-extractor.exe: $(SOURCES) mcs /r:System.Xml.Linq /r:System.IO.Compression -o:nuget-hash-extractor.exe $(SOURCES) -download: +.download_stamp_file: Makefile download.sh echo "Downloading all the nugets"; \ ./download.sh -run: nuget-hash-extractor.exe +download: .download_stamp_file + +run: nuget-hash-extractor.exe .download_stamp_file mono nuget-hash-extractor.exe nugets -run-asm: nuget-hash-extractor.exe +run-asm: nuget-hash-extractor.exe .download_stamp_file mono nuget-hash-extractor.exe nugets asm -run-ver: nuget-hash-extractor.exe +run-ver: nuget-hash-extractor.exe .download_stamp_file mono nuget-hash-extractor.exe nugets ver .PHONY: download run diff --git a/tools/nuget-hash-extractor/download.sh b/tools/nuget-hash-extractor/download.sh index f79ee5f351c..a16a3bfac02 100755 --- a/tools/nuget-hash-extractor/download.sh +++ b/tools/nuget-hash-extractor/download.sh @@ -33,4 +33,6 @@ wget https://www.nuget.org/api/v2/package/System.Reflection.DispatchProxy/4.0.0 #System.ValueTuple wget https://www.nuget.org/api/v2/package/System.ValueTuple/4.3.0 -O nugets/system.valuetuple.4.3.0.nupkg -#System.Security.Cryptography.OpenSsl when .net 4.6.2 + 1 is out \ No newline at end of file +#System.Security.Cryptography.OpenSsl when .net 4.6.2 + 1 is out + +touch .download_stamp_file \ No newline at end of file