From efe49acf5b22e534ae003935999c847cb81b6121 Mon Sep 17 00:00:00 2001 From: Michael McVady Date: Thu, 5 Jan 2023 13:55:15 -0600 Subject: Update Makefile; fetch-dependencies --- Makefile | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index aa0928f..102484c 100644 --- a/Makefile +++ b/Makefile @@ -7,16 +7,26 @@ build: clean: kodev clean - docker rm -f clog - docker rm -f clog-postgres - docker rmi -f clog:latest + rm -rf lib docker-build: DOCKER_BUILDKIT=1 docker build -t clog . +docker-clean: + docker rm -f clog + docker rm -f clog-postgres + docker rmi -f clog:latest + docker-run: docker rm -f clog docker run --name clog -p 8888:8888 -d clog:latest +fetch-dependencies: + # lib/md4c + mkdir -p lib + curl -L https://github.com/mity/md4c/archive/refs/tags/release-0.4.8.tar.gz -o lib/md4c-0.4.8.tar.gz + tar xf lib/md4c-0.4.8.tar.gz -C lib + mv lib/md4c-release-0.4.8 lib/md4c + run: kodev run -- cgit v1.2.3