news/Makefile
2024-04-03 16:41:45 +02:00

22 lines
307 B
Makefile

all: build frontend compile
build:
deno run --allow-all utils/build.js
images:
# deno run --allow-all utils/images.js
frontend:
cd web && npm install && npm run build
readme:
deno run --allow-all utils/readme.js
sync:
make build readme
compile:
cp -r web/dist/** dist
fmt:
deno fmt utils/*.js