#!/bin/bash

set -e

bower install

pushd ganttcharts/web/static/bower_components/bootstrap
npm install
npm install --dev  # for grunt stuff
popd

cp ganttcharts/web/static/bootstrap_variables.scss ganttcharts/web/static/bower_components/bootstrap/scss/_variables.scss

pushd ganttcharts/web/static/bower_components/bootstrap
grunt dist
popd

#!/bin/bash

set -e

bower install

pushd ganttcharts/web/static/bower_components/bootstrap
NODE_ENV=development npm install  # for grunt stuff
popd

cp ganttcharts/web/static/bootstrap_variables.scss ganttcharts/web/static/bower_components/bootstrap/scss/_variables.scss

pushd ganttcharts/web/static/bower_components/bootstrap
grunt dist
popd

--- 
+++ 
@@ -5,8 +5,7 @@
 bower install
 
 pushd ganttcharts/web/static/bower_components/bootstrap
-npm install
-npm install --dev  # for grunt stuff
+NODE_ENV=development npm install  # for grunt stuff
 popd
 
 cp ganttcharts/web/static/bootstrap_variables.scss ganttcharts/web/static/bower_components/bootstrap/scss/_variables.scss
Add --dev to npm install
