[tools] Dep check the downloads to avoid the mistake fixed by the previous commit.
authorRodrigo Kumpera <kumpera@gmail.com>
Thu, 16 Mar 2017 17:26:22 +0000 (10:26 -0700)
committerRodrigo Kumpera <kumpera@gmail.com>
Thu, 16 Mar 2017 17:26:22 +0000 (10:26 -0700)
tools/nuget-hash-extractor/Makefile
tools/nuget-hash-extractor/download.sh

index 6a74c0d2783a7bc8eea6bda83b6ac117bd9a204c..371aca44bbfd05a69f6cf936406bda325d4b17c5 100644 (file)
@@ -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
index f79ee5f351c058841e6f5b8c40d509aad0858dda..a16a3bfac027d6d142480187bc0dcf2d84f6de13 100755 (executable)
@@ -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