From 5c0ac70275c67a4baa9b4e667a67213ab8a8c667 Mon Sep 17 00:00:00 2001 From: Duda Dornelles Date: Wed, 10 Dec 2014 09:30:07 -0200 Subject: creating the folder where the handlebars templates need to be --- web-ui/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'`", -- cgit v1.2.3