Skip to content

Commit

Permalink
Update compile
Browse files Browse the repository at this point in the history
Changing more locations.
  • Loading branch information
grantbi committed May 23, 2014
1 parent 3fc69c7 commit 83907bb
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions bin/compile
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ shopt -s dotglob
cd $BUILD_DIR

# move app things to www
mkdir -p $CACHE_DIR/www
mv * $CACHE_DIR/www
mv $CACHE_DIR/www .
mkdir -p $CACHE_DIR/web
mv * $CACHE_DIR/web
mv $CACHE_DIR/web .

# keep Procfile
if [ -f www/Procfile ]; then
mv www/Procfile .
if [ -f web/Procfile ]; then
mv web/Procfile .
fi

# unpack cache
Expand Down Expand Up @@ -66,4 +66,4 @@ mkdir -p $CACHE_DIR
for DIR in $APACHE_PATH ; do
rm -rf $CACHE_DIR/$DIR
cp -R $DIR $CACHE_DIR/$DIR
done
done

0 comments on commit 83907bb

Please sign in to comment.