fix(build): do not run build/pubbuild.dart twice

Closes #3831
This commit is contained in:
Marc Laval 2015-08-25 19:51:57 +02:00
parent c2279dd651
commit e72305e685
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ function killServer () {
# So we do this only for post-commit testing.
# Pull requests test with Dartium and pub serve
if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then
./node_modules/.bin/gulp build/pubbuild.dart
# WARNING: the build/pubbuild.dart task is assumed to have been run before, in test_server_dart.sh
./node_modules/.bin/gulp serve.js.dart2js&
serverPid=$!
else