mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-05 19:28:39 +00:00
Make the makefile more helpful
Auditors: spicyj
This commit is contained in:
11
Makefile
11
Makefile
@@ -1,8 +1,15 @@
|
|||||||
FILES=parser.js style.css build.js index.html
|
FILES=parser.js style.css build.js index.html
|
||||||
|
|
||||||
.PHONY: ship
|
.PHONY: build ship copy
|
||||||
ship: parser.js
|
build: parser.js
|
||||||
|
|
||||||
|
ship: build
|
||||||
scp $(FILES) prgmr:/var/www/www.rampancylabs.com/parser/
|
scp $(FILES) prgmr:/var/www/www.rampancylabs.com/parser/
|
||||||
|
|
||||||
|
copy: build
|
||||||
|
cp parser.js ../exercises/utils/mjlite-parser.js
|
||||||
|
cp MJLite.js ../exercises/utils/MJLite.js
|
||||||
|
cp style.js ../exercises/css/mjlite.css
|
||||||
|
|
||||||
parser.js: parser.jison
|
parser.js: parser.jison
|
||||||
./node_modules/.bin/jison parser.jison
|
./node_modules/.bin/jison parser.jison
|
||||||
|
Reference in New Issue
Block a user