-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMakefile
19 lines (15 loc) · 1.22 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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 --no-check https://cdn.jsdelivr.net/gh/stephband/literal@main/deno/make-literal.js ./ debug
docs:
# deno run --allow-read --allow-env --allow-net --allow-write --allow-run https://cdn.jsdelivr.net/gh/stephband/fn@master/deno/make-modules.js docs/docs.js ./docs/module.js
deno run --allow-read --allow-env --allow-net --allow-write --allow-run https://cdn.jsdelivr.net/gh/stephband/fn@master/deno/make-css.js docs/docs.css ./docs/module.css
make literal
modules:
rm -rf build
deno run --allow-read --allow-env --allow-net --allow-write --allow-run https://cdn.jsdelivr.net/gh/stephband/fn@master/deno/make-modules.js build/slide-show.js ./module.js
deno run --allow-read --allow-env --allow-net --allow-write --allow-run https://cdn.jsdelivr.net/gh/stephband/fn@master/deno/make-css.js build/slide-show.css ./module.css
deno run --allow-read --allow-env --allow-net --allow-write --allow-run https://cdn.jsdelivr.net/gh/stephband/fn@master/deno/make-css.js build/slide-show-shadow.css ./shadow.css