Add a setup rule to Makefile
It installs npm prerequisites.
This commit is contained in:
parent
cab5af40b6
commit
aa4e05a7cf
7
Makefile
7
Makefile
|
@ -1,5 +1,8 @@
|
||||||
.PHONY: build copy serve clean
|
.PHONY: build setup copy serve clean
|
||||||
build: build/katex.js
|
build: setup build/katex.js
|
||||||
|
|
||||||
|
setup:
|
||||||
|
npm install
|
||||||
|
|
||||||
compress: build/katex.min.js
|
compress: build/katex.min.js
|
||||||
@printf "Minified, gzipped size: "
|
@printf "Minified, gzipped size: "
|
||||||
|
|
0
build/.gitkeep
Normal file
0
build/.gitkeep
Normal file
Loading…
Reference in New Issue
Block a user