fixed build

This commit is contained in:
javi 2013-07-29 12:42:41 +02:00
parent 3d87cd490d
commit a57a162248
2 changed files with 8 additions and 4 deletions

View File

@ -6,6 +6,8 @@ expresso = ./node_modules/.bin/mocha
docco = ./node_modules/.bin/docco
uglify = ./node_modules/.bin/uglify
JS_CLIENT_FILES=browser/*.js lib/carto/parser.js lib/carto/tree.js lib/carto/tree/*.js lib/carto/functions.js lib/carto/renderer_js.js
lint:
./node_modules/.bin/jshint lib/carto/*.js lib/carto/tree/*.js
@ -22,8 +24,8 @@ check: test
doc:
$(docco) lib/carto/*.js lib/carto/tree/*.js
dist/carto.js:
cat browser/*.js lib/carto/parser.js lib/carto/tree.js lib/carto/tree/*.js lib/carto/functions.js > dist/carto.js
dist/carto.js: $(JS_CLIENT_FILES)
cat browser/*.js lib/carto/parser.js lib/carto/tree.js lib/carto/tree/*.js lib/carto/functions.js lib/carto/renderer_js.js > dist/carto.js
dist: dist/carto.js

View File

@ -6,6 +6,8 @@ expresso = ./node_modules/.bin/mocha
docco = ./node_modules/.bin/docco
uglify = ./node_modules/.bin/uglify
JS_CLIENT_FILES=browser/*.js lib/carto/parser.js lib/carto/tree.js lib/carto/tree/*.js lib/carto/functions.js lib/carto/renderer_js.js
lint:
./node_modules/.bin/jshint lib/carto/*.js lib/carto/tree/*.js
@ -22,8 +24,8 @@ check: test
doc:
$(docco) lib/carto/*.js lib/carto/tree/*.js
dist/carto.js:
cat browser/*.js lib/carto/parser.js lib/carto/tree.js lib/carto/tree/*.js lib/carto/functions.js > dist/carto.js
dist/carto.js: $(JS_CLIENT_FILES)
cat browser/*.js lib/carto/parser.js lib/carto/tree.js lib/carto/tree/*.js lib/carto/functions.js lib/carto/renderer_js.js > dist/carto.js
dist: dist/carto.js