makefile improvements

This commit is contained in:
Tomáš Mládek 2021-09-19 11:30:28 +02:00
parent e82fcd5d42
commit 7919e4fb7d

View file

@ -3,11 +3,13 @@ all: deno_lint deno app docker
deno_lint:
cd cli && deno lint
deno:
deno: ./kollagen
./kollagen:
cd cli && deno compile --import-map ./import_map.json --allow-read --allow-write --unstable -o ../kollagen main.ts
app:
npm ci --cache .npm --prefer-offline && npm run build
docker: deno
docker: ./kollagen
docker build -t kollagen-bot -f tgbot/Dockerfile .