diff options
author | Rodrigo Kumpera <kumpera@gmail.com> | 2017-03-16 20:26:22 +0300 |
---|---|---|
committer | Rodrigo Kumpera <kumpera@gmail.com> | 2017-03-16 20:26:22 +0300 |
commit | 59e8fa77d7abc5e279c26e56fcae7a2c6b30a108 (patch) | |
tree | d72885f5d6f97454c07d75aabce4da59deacb6e1 /tools/nuget-hash-extractor | |
parent | 09c7afbc759495d1460b04202c579c13f1e604e0 (diff) |
[tools] Dep check the downloads to avoid the mistake fixed by the previous commit.
Diffstat (limited to 'tools/nuget-hash-extractor')
-rw-r--r-- | tools/nuget-hash-extractor/Makefile | 10 | ||||
-rwxr-xr-x | tools/nuget-hash-extractor/download.sh | 4 |
2 files changed, 9 insertions, 5 deletions
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 |