Commit 214970a0 authored by zeke's avatar zeke

test without semver

parent 0c9a6616
......@@ -22,15 +22,15 @@ PATH=$PATH:$BUILD_DIR/node/bin
cd $BUILD_DIR
# Is a node version present in package.json?
DESIRED_VERSION=$(cat $BUILD_DIR/package.json | node $LP_DIR/vendor/json engines.node 2>/dev/null)
echo "DESIRED_VERSION: $DESIRED_VERSION"
if [ "$DESIRED_VERSION" != "" ]; then
SATISFIED_VERSION=$(node $LP_DIR/vendor/semver/bin/semver $DEFAULT_VERSION -r $DESIRED_VERSION)
echo "SATISFIED_VERSION: $SATISFIED_VERSION"
fi
# DESIRED_VERSION=$(cat $BUILD_DIR/package.json | node $LP_DIR/vendor/json engines.node 2>/dev/null)
# echo "DESIRED_VERSION: $DESIRED_VERSION"
# if [ "$DESIRED_VERSION" != "" ]; then
# SATISFIED_VERSION=$(node $LP_DIR/vendor/semver/bin/semver $DEFAULT_VERSION -r "$DESIRED_VERSION")
# echo "SATISFIED_VERSION: $SATISFIED_VERSION"
# fi
status "Installing dependencies with npm"
npm install --production | indent
npm install --production
echo "Dependencies installed" | indent
status "Building runtime environment"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment