gmi-web/Makefile
Talon Poole 86e9e8b660 fix lists
add test
2021-02-02 22:02:09 +00:00

24 lines
523 B
Makefile

build: format gmi.min.css gmi-web.1 gmi.css.5
gmi-web.1: gmi-web.1.scd
scdoc < $< > $@
gmi.min.css: gmi.css
cat $< | ./node_modules/minify/bin/minify.js --css > $@
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 node_modules
.PHONY: clean format