summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuda Dornelles <ddornell@thoughtworks.com>2014-12-10 09:30:07 -0200
committerDuda Dornelles <ddornell@thoughtworks.com>2014-12-10 09:30:07 -0200
commit5c0ac70275c67a4baa9b4e667a67213ab8a8c667 (patch)
tree4f56d7091c68567881e60d9b0c3f7f7db6ec6766
parentcda2cc4ccd6de63af0c8c414624c8441c28d71a1 (diff)
creating the folder where the handlebars templates need to be
-rw-r--r--web-ui/package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/web-ui/package.json b/web-ui/package.json
index d13d42a5..fefa5dc7 100644
--- a/web-ui/package.json
+++ b/web-ui/package.json
@@ -20,7 +20,7 @@
"scripts": {
"test": "npm run clean && npm run handlebars && node_modules/karma/bin/karma start --single-run --browsers PhantomJS $GRUNT_OPTS",
"watch-test": "node_modules/karma/bin/karma start",
- "handlebars": "handlebars app/templates/**/*.hbs > app/js/generated/hbs/templates.js --namespace=window.Pixelated --root .",
+ "handlebars": "mkdir -p app/js/generated/hbs/ && handlebars app/templates/**/*.hbs > app/js/generated/hbs/templates.js --namespace=window.Pixelated --root .",
"compass": "compass compile",
"build": "npm run clean && npm run handlebars && npm run compass",
"jshint": "node_modules/.bin/jshint --config=.jshintrc `find app -name '*.js' | grep -v -e 'lib' -e 'bower' -e 'generated'`",