Skip to content

Commit

Permalink
[openshift] Add action hook: pre_build
Browse files Browse the repository at this point in the history
  • Loading branch information
GochoMugo committed Jun 16, 2016
1 parent b05883c commit 7b3bbd7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .openshift/action_hooks/pre_build
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env bash

# this install all dependencies + devDevdependencies
NODE_ENV=development npm install

# building files
npm build
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "0.2.0",
"private": true,
"scripts": {
"build": "grunt build",
"postinstall": "bower install",
"start": "forever app.js",
"start-dev": "DEBUG=mmtc-ke:* nodemon app.js",
Expand Down

0 comments on commit 7b3bbd7

Please sign in to comment.