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
|
||||
build: build/katex.js
|
||||
.PHONY: build setup copy serve clean
|
||||
build: setup build/katex.js
|
||||
|
||||
setup:
|
||||
npm install
|
||||
|
||||
compress: build/katex.min.js
|
||||
@printf "Minified, gzipped size: "
|
||||
|
|
0
build/.gitkeep
Normal file
0
build/.gitkeep
Normal file
Loading…
Reference in New Issue
Block a user