This commit is contained in:
17
node_modules/@mapbox/jsonlint-lines-primitives/Makefile
generated
vendored
Normal file
17
node_modules/@mapbox/jsonlint-lines-primitives/Makefile
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
|
||||
all: build test site
|
||||
|
||||
build:
|
||||
./node_modules/jison/lib/cli.js src/jsonlint.y src/jsonlint.l
|
||||
mv jsonlint.js lib/jsonlint.js
|
||||
node scripts/bundle.js | ./node_modules/uglify-js/bin/uglifyjs > web/jsonlint.js
|
||||
|
||||
site:
|
||||
cp web/jsonlint.js ../jsonlint-pages/jsonlint.js
|
||||
|
||||
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