Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions bin/compile
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export CPPPATH="$INCLUDE_PATH"
############################################
echo "-----> Installing meteorite with npm"

run_npm "install meteorite -g"
npm install meteorite -g
echo "Meteorite installed" | indent

METEOR_BUILD_DIR="$BUILD_DIR/.meteor/heroku_build"
Expand All @@ -120,13 +120,13 @@ echo "Installing meteor" | indent

# Using different folder to prevent install script form deleting packages file
VENDORED_METEOR="$(mktmpdir meteor)"
curl https://install.meteor.com | HOME="$VENDORED_METEOR" /bin/sh | indent
curl https://install.meteor.com | /bin/sh | indent
echo "Meteor installed" | indent

echo "Installing packages" | indent
HOME="$BUILD_DIR" mrt install | indent
echo "Building meteor bundle" | indent
HOME="$VENDORED_METEOR" "$VENDORED_METEOR"/.meteor/meteor bundle "$CACHE_DIR"/bundle.tar.gz 2>&1 | indent
meteor bundle "$CACHE_DIR"/bundle.tar.gz 2>&1 | indent

mkdir -p "$METEOR_BUILD_DIR"/app
tar -zxf "$CACHE_DIR"/bundle.tar.gz --strip-components 1 -C "$METEOR_BUILD_DIR"/app
Expand Down