Skip to content

Commit

Permalink
Also compile the SCSS when production builds are disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Coenego committed Jun 4, 2015
1 parent 453bf32 commit a5703a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion environments/dev/hiera/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
],

/* Whether or not to do a production build */
"do_production_build": "true",
"do_production_build": "false",

/* Grasshopper repository */
"app_ui_path": "/opt/grasshopper-ui",
Expand Down
2 changes: 1 addition & 1 deletion modules/ui/manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# Create a command for generating the production build
$production_build_cmd = hiera('do_production_build') ? {
'true' => 'npm install -d && node ./node_modules/.bin/grunt',
'false' => 'true',
'false' => './etc/scripts/compileCSS.sh',
default => 'true',
}

Expand Down

0 comments on commit a5703a5

Please sign in to comment.