Make the makefile more helpful
Auditors: spicyj
This commit is contained in:
parent
d2fa50c836
commit
37355b82d1
11
Makefile
11
Makefile
|
@ -1,8 +1,15 @@
|
|||
FILES=parser.js style.css build.js index.html
|
||||
|
||||
.PHONY: ship
|
||||
ship: parser.js
|
||||
.PHONY: build ship copy
|
||||
build: parser.js
|
||||
|
||||
ship: build
|
||||
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
|
||||
./node_modules/.bin/jison parser.jison
|
||||
|
|
Loading…
Reference in New Issue
Block a user