mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-11 22:18:41 +00:00
Add a setup rule to Makefile
It installs npm prerequisites.
This commit is contained in:
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
Reference in New Issue
Block a user