aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile16
1 files changed, 13 insertions, 3 deletions
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