Fixes OpenShift

This commit is contained in:
fabianofranz
2014-09-12 03:05:51 -03:00
parent 17288017d8
commit 5c8f016dd6
16 changed files with 191 additions and 0 deletions

11
.openshift/action_hooks/build Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
cd $OPENSHIFT_REPO_DIR
export NPM_CONFIG_CACHE="$OPENSHIFT_TMP_DIR/npm/cache"
export MAVEN_OPTS="-Dmaven.repo.local=$OPENSHIFT_TMP_DIR/m2"
export HOME="$OPENSHIFT_TMP_DIR/local"
npm install npm
export PATH="$OPENSHIFT_REPO_DIR/node_modules/.bin:$PATH"
mvn clean package