forked from lxm_front/jsonlint-mod
fix Makefile
This commit is contained in:
8
Makefile
8
Makefile
@@ -1,14 +1,16 @@
|
||||
|
||||
all: build test
|
||||
all: build test site
|
||||
|
||||
build:
|
||||
jison src/jsonlint.y src/jsonlint.l
|
||||
mv jsonlint.js lib/jsonlint.js
|
||||
node scripts/bundle.js | uglifyjs > web/jsonlint.js
|
||||
|
||||
deploy:
|
||||
site:
|
||||
cp web/jsonlint.js ../jsonlint-pages/jsonlint.js
|
||||
cd ../jsolint-pages && git commit -a -m 'deploy site updates' && git push origin gh-pages
|
||||
|
||||
deploy: site
|
||||
cd ../jsonlint-pages && git commit -a -m 'deploy site updates' && git push origin gh-pages
|
||||
|
||||
test: lib/jsonlint.js test/all-tests.js
|
||||
node test/all-tests.js
|
||||
|
||||
Reference in New Issue
Block a user