Skip to content
Newer
Older
100644 41 lines (29 sloc) 959 Bytes
23f8083 @ixti Added make task to build browserified version
ixti authored Nov 9, 2011
1 PATH := ./node_modules/.bin:${PATH}
2
3
6cb8f91 @ixti Added update gh-pages task
ixti authored Nov 9, 2011
4 .SILENT: test test-functional test-issues
23f8083 @ixti Added make task to build browserified version
ixti authored Nov 8, 2011
5
6
6cb8f91 @ixti Added update gh-pages task
ixti authored Nov 8, 2011
7 test: test-functional test-issues
4e97245 @ixti Added make tasks to run tests
ixti authored Nov 3, 2011
8
6cb8f91 @ixti Added update gh-pages task
ixti authored Nov 8, 2011
9 test-issues:
23f8083 @ixti Added make task to build browserified version
ixti authored Nov 8, 2011
10 echo
11 echo "## ISSUES ######################################################################"
12 echo "################################################################################"
13 echo
14 node ./test/issues/run.js
15 echo
4e97245 @ixti Added make tasks to run tests
ixti authored Nov 2, 2011
16
6cb8f91 @ixti Added update gh-pages task
ixti authored Nov 8, 2011
17 test-functional:
23f8083 @ixti Added make task to build browserified version
ixti authored Nov 8, 2011
18 echo
19 echo "## FUNCTIONAL ##################################################################"
20 echo "################################################################################"
21 echo
22 node ./test/functional/run.js
23 echo
24
25
26 build: browserify uglify
27
28 browserify:
29 if test ! `which browserify` ; then npm install browserify ; fi
30 browserify index.js -o js-yaml.js
31
32 uglify:
33 if test ! `which uglifyjs` ; then npm install uglify-js ; fi
34 uglifyjs js-yaml.js > js-yaml.min.js
6cb8f91 @ixti Added update gh-pages task
ixti authored Nov 8, 2011
35
36 gh-pages: build
37 git checkout -b gh-pages
38 git commit -am
39 git push origin gh-pages
40 git checkout master
Something went wrong with that request. Please try again.