]> git.cworth.org Git - lmno.games/commit
Rework Makefile to force sha512 verification of downloaded files
authorCarl Worth <cworth@cworth.org>
Mon, 25 May 2020 21:20:38 +0000 (14:20 -0700)
committerCarl Worth <cworth@cworth.org>
Tue, 26 May 2020 03:53:38 +0000 (20:53 -0700)
commitb5bcbc45f19ee068478edb73b48bc7194e582da8
tree724c4f843b723bff87044f8ea6b8abba046122b4
parentf0c30f7cd59ecfca24e6a7332910f87a6b2045e6
Rework Makefile to force sha512 verification of downloaded files

We had sha512 checksums here, but no automation was happening for the
verification, (instead there was only a "make checksums" file that
would have to be called manually).

We rework things here so that the checksum is verified on every file
that is downloaded. The rework simplifies the recipe for
download/verification to a single recipe for all dependencies (rather
than 4 recipes with a lot of duplicated logic).

The "make checksums" target is also renamed to "make deps" since it
can be used to force the downloading of all dependencies, (and it is
given the .PHONY treatment so that it always performs checksum
verification even if there is nothing new to download).
.gitignore
Makefile
checksums.sha512 [deleted file]
deps/react-dom.development.js.sha512 [new file with mode: 0644]
deps/react-dom.production.min.js.sha512 [new file with mode: 0644]
deps/react.development.js.sha512 [new file with mode: 0644]
deps/react.production.min.js.sha512 [new file with mode: 0644]