From: Carl Worth Date: Mon, 25 May 2020 23:55:52 +0000 (-0700) Subject: Provide any downloaded deps/*.js files to git clone during deployment X-Git-Url: https://git.cworth.org/git?p=lmno.games;a=commitdiff_plain;h=cc2167334e27c5b7fefdef8624b51582fd25afe4;hp=50f66d5f3a3a513362ef40f11b17992522b2fffd Provide any downloaded deps/*.js files to git clone during deployment This is simply so that the deploy process doesn't need to download anything that we might already have downloaded. We do explicitly call "make deps" still to force verification of the checksums of the .js files (even though we didn't just download them). This ensures that these resource (which aren't otherwise tracked in git) haven't been modified. --- diff --git a/Makefile b/Makefile index 4ef4b4d..cf1e1d7 100644 --- a/Makefile +++ b/Makefile @@ -82,6 +82,8 @@ deps/%.js: deploy: rm -rf .deploy-source git clone . .deploy-source + cp deps/*.js .deploy-source/deps + make -C .deploy-source deps make -C .deploy-source LMNO_BUILD=production rm -rf .deploy-source/.git (cd .deploy-source; rsync -avz \