diff options
author | Michael McVady <femtonaut@gmail.com> | 2024-01-27 10:22:11 -0600 |
---|---|---|
committer | Michael McVady <femtonaut@gmail.com> | 2024-01-27 10:22:11 -0600 |
commit | 07328f3c56c24899a5a6e7e3bbe3cf4e52a652e3 (patch) | |
tree | 567ab8dea2ee74b6a96ce7f2ce50cdb185bfb53d /Makefile | |
parent | c450b5ae204f2b1d5bc7db1be1d927b93770b155 (diff) |
Don't pull down dependencies needlessly
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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: |