gmi-web/Makefile
Talon Poole 9184e2c792 enable stdio API
--body returns just the innerHTML of the body
gmi.min.css is created in the script not by Makefile
refactor yargs code, better --help menu
2021-02-11 20:57:08 +00:00

21 lines
441 B
Makefile

build: format gmi-web.1 gmi.css.5
gmi-web.1: gmi-web.1.scd
scdoc < $< > $@
gmi.css.5: gmi.css.5.scd
scdoc < $< > $@
format:
./node_modules/prettier/bin-prettier.js --write README.md
./node_modules/prettier/bin-prettier.js --write gmi.css
./node_modules/prettier/bin-prettier.js --write *.js !*.min.js
example/test.html: example/test.gmi
./test.sh
clean:
rm -rf gmi.min.* gmi-web.1 gmi.css.5 node_modules
.PHONY: clean format