Quick hack to speed up local building

This commit is contained in:
6ea86b96 2017-04-22 20:45:47 +07:00 committed by Jeremy Kauffman
parent 089572880f
commit 573d85c302
2 changed files with 4 additions and 2 deletions

2
.gitignore vendored
View file

@ -14,3 +14,5 @@ dist
*.pyc
.#*
build/daemon.zip

View file

@ -78,9 +78,9 @@ else
OSNAME="linux"
fi
DAEMON_URL="$(cat "$BUILD_DIR/DAEMON_URL" | sed "s/OSNAME/${OSNAME}/")"
wget --quiet "$DAEMON_URL" -O "$BUILD_DIR/daemon.zip"
# wget --quiet "$DAEMON_URL" -O "$BUILD_DIR/daemon.zip"
unzip "$BUILD_DIR/daemon.zip" -d "$ROOT/app/dist/"
rm "$BUILD_DIR/daemon.zip"
# rm "$BUILD_DIR/daemon.zip"
###################
# Build the app #