Commit 0eff960 1 parent 111582d commit 0eff960 Copy full SHA for 0eff960
File tree 4 files changed +5
-4
lines changed
4 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 5
5
export METEOR_HOME=` pwd`
6
6
7
7
export PATH=$METEOR_HOME :$PATH
8
- ./meteor --version 2>&1 | grep Unreleased || exit 1 # syncronously get the dev bundle if its not there.
8
+ # synchronously get the dev bundle and NPM modules if they're not there.
9
+ ./meteor --get-ready || exit 1
9
10
10
11
export URL=' http://localhost:4096/'
11
12
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ trap 'rm -rf "$FAKE_TMPDIR" >/dev/null 2>&1' 0
24
24
echo " Building a fake release in $FAKE_TMPDIR ."
25
25
26
26
# Make sure dev bundle exists.
27
- ./meteor --version 2>&1 | grep Unreleased
27
+ ./meteor --get-ready
28
28
29
29
# Start out with just the dev bundle.
30
30
cp -a dev_bundle " $FAKE_TMPDIR /meteor"
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ TOPDIR=$(pwd)
7
7
8
8
# download dev bundle if we don't have it already
9
9
if [ ! -d dev_bundle ] ; then
10
- ./meteor --version
10
+ ./meteor --get-ready
11
11
fi
12
12
13
13
cd " $ORIGDIR "
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ cd `dirname $0`
5
5
METEOR_DIR=` pwd` /..
6
6
# Die with message on failure, print commands being executed
7
7
trap ' echo FAILED' EXIT
8
- set -e -x
8
+ set -e -u - x
9
9
10
10
# linux mktemp requires at least 3 X's in the last component.
11
11
make_temp_dir () {
You can’t perform that action at this time.
0 commit comments