Skip to content

Commit 1dffd25

Browse files
author
Ian Redpath
committed
removed package.json scripts and moved to build bash script as they require write permissions
1 parent e42215b commit 1dffd25

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.openshift/action_hooks/build

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ OLD_HOME=$HOME
4040
cd $OPENSHIFT_REPO_DIR
4141
export HOME=$OPENSHIFT_REPO_DIR
4242

43+
echo "INFO: running 'typings install'"
44+
typings install
45+
46+
echo "INFO: running 'tsc' to generate gulpfile.js"
47+
tsc
48+
4349
echo "INFO: Running 'gulp' (default task)"
4450
gulp
4551

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,5 @@
4040
},
4141
"main": "dist/server.js",
4242
"scripts": {
43-
"preinstall": "typings install",
44-
"postinstall": "tsc"
4543
}
4644
}

0 commit comments

Comments
 (0)