From 07328f3c56c24899a5a6e7e3bbe3cf4e52a652e3 Mon Sep 17 00:00:00 2001 From: Michael McVady Date: Sat, 27 Jan 2024 10:22:11 -0600 Subject: Don't pull down dependencies needlessly --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 9511f88..e42fc77 100644 --- a/Makefile +++ b/Makefile @@ -21,13 +21,14 @@ docker-run: docker rm -f clog docker run --name clog -p 8888:8888 -d clog:latest -fetch-dependencies: clean +fetch-dependencies: mkdir -p lib # md4c - curl -L https://github.com/mity/md4c/archive/refs/tags/release-0.5.1.tar.gz -o lib/md4c-0.5.1.tar.gz + test ! -f lib/md4c-0.5.1.tar.gz && curl -L https://github.com/mity/md4c/archive/refs/tags/release-0.5.1.tar.gz -o lib/md4c-0.5.1.tar.gz || true echo "2dca17c6175a7f11182943079c2a4f9adb5071433e3d3d05ba801ff794993f34 lib/md4c-0.5.1.tar.gz" > lib/md4c-0.5.1.tar.gz.sha256 sha256sum -c lib/md4c-0.5.1.tar.gz.sha256 tar xf lib/md4c-0.5.1.tar.gz -C lib + rm -rf lib/md4c mv lib/md4c-release-0.5.1 lib/md4c run: -- cgit v1.2.3