forked from angular/angular.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(travis): install grunt-cli globally to simplify scripts
- Loading branch information
1 parent
f54e924
commit 0990833
Showing
3 changed files
with
10 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/bin/bash | ||
|
||
node_modules/.bin/grunt minify | ||
grunt minify | ||
gzip -c < build/angular.min.js > build/angular.min.js.gzip | ||
ls -l build/angular.min.* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,8 @@ | |
|
||
set -e | ||
|
||
yarn global add [email protected] | ||
|
||
mkdir -p $LOGS_DIR | ||
|
||
if [ $JOB != "ci-checks" ]; then | ||
|
@@ -10,7 +12,7 @@ if [ $JOB != "ci-checks" ]; then | |
fi | ||
|
||
if [ $JOB != "ci-checks" ]; then | ||
node_modules/.bin/grunt package | ||
grunt package | ||
echo "wait_for_browser_provider" | ||
./scripts/travis/wait_for_browser_provider.sh | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters