aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMichael McVady <femtonaut@gmail.com>2023-01-05 13:55:15 -0600
committerMichael McVady <femtonaut@gmail.com>2023-01-05 13:55:15 -0600
commitefe49acf5b22e534ae003935999c847cb81b6121 (patch)
tree88c7ff9e637b03b1b16b7a1cc30bd14610e2196c /Makefile
parent87e67055ae0a8cf150928d63dc3abe32b69c2d82 (diff)
Update Makefile; fetch-dependencies
Diffstat (limited to 'Makefile')
-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