-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
executable file
·18 lines (14 loc) · 904 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
DEBUG=
# Tell make to ignore existing folders and allow overwriting existing files
.PHONY: modules docs literal
# Must format with tabs not spaces
literal:
deno run --allow-read --allow-env --allow-net --allow-write --allow-run --unstable --no-check literal/deno/make-literal.js ./ debug
docs:
deno run --allow-read --allow-env --allow-net --allow-write --allow-run ../fn/deno/make-modules.js docs/docs.js ./docs/module.js
deno run --allow-read --allow-env --allow-net --allow-write --allow-run ../fn/deno/make-modules.js docs/docs.css ./docs/module.css
make literal
modules:
# Run separate builds to package them as standalones
deno run --allow-read --allow-env --allow-net --allow-write --allow-run ../fn/deno/make-modules.js ./build/ ./module.js ./module.css
deno run --allow-read --allow-env --allow-net --allow-write --allow-run ../fn/deno/make-modules.js ./build/shadow.css ./shadow.css