news/Makefile

22 lines
304 B
Makefile
Raw Normal View History

2024-02-12 11:00:15 +01:00
all: build frontend compile
build:
deno run --allow-all utils/build.js
2024-02-13 14:22:58 +01:00
images:
deno run --allow-all utils/images.js
2024-02-12 11:00:15 +01:00
frontend:
cd web && npm install && npm run build
2024-02-13 13:21:19 +01:00
readme:
deno run --allow-all utils/readme.js
2024-02-13 14:16:12 +01:00
sync:
2024-02-13 14:22:58 +01:00
make build readme
2024-02-13 14:16:12 +01:00
2024-02-12 11:00:15 +01:00
compile:
2024-02-13 14:27:51 +01:00
cp -r web/dist/** dist
fmt:
deno fmt utils/*.js