File tree 4 files changed +11
-9
lines changed
4 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 16
16
"scripts" : {
17
17
"commit" : " git-cz" ,
18
18
"test-i18n" : " jasmine-node i18n/spec" ,
19
- "test-i18n-ucd" : " jasmine-node i18n/ucd/spec"
19
+ "test-i18n-ucd" : " jasmine-node i18n/ucd/spec" ,
20
+ "grunt" : " grunt"
20
21
},
21
22
"devDependencies" : {
22
23
"angular-benchpress" : " 0.x.x" ,
Original file line number Diff line number Diff line change @@ -21,21 +21,21 @@ rm -f angular.js.size
21
21
22
22
23
23
# BUILD #
24
- grunt ci-checks package --no-color
24
+ yarn run grunt -- ci-checks package --no-color
25
25
26
26
mkdir -p test_out
27
27
28
28
# UNIT TESTS #
29
- grunt test:unit --browsers=" $BROWSERS " --reporters=dots,junit --no-colors --no-color
29
+ yarn run grunt -- test:unit --browsers=" $BROWSERS " --reporters=dots,junit --no-colors --no-color
30
30
31
31
# END TO END TESTS #
32
- grunt test:ci-protractor
32
+ yarn run grunt -- test:ci-protractor
33
33
34
34
# DOCS APP TESTS #
35
- grunt test:docs --browsers=" $BROWSERS " --reporters=dots,junit --no-colors --no-color
35
+ yarn run grunt -- test:docs --browsers=" $BROWSERS " --reporters=dots,junit --no-colors --no-color
36
36
37
37
# Promises/A+ TESTS #
38
- grunt test:promises-aplus --no-color
38
+ yarn run grunt -- test:promises-aplus --no-color
39
39
40
40
41
41
# CHECK SIZE #
Original file line number Diff line number Diff line change @@ -9,9 +9,10 @@ nvm install
9
9
# clean out and install yarn
10
10
rm -rf ~ /.yarn
11
11
curl -o- -L https://raw.githubusercontent.com/yarnpkg/yarn/2a0afc73210c7a82082585283e518eeb88ca19ae/scripts/install-latest.sh | bash -s -- --version 0.17.9
12
+ export PATH=" $HOME /.yarn/bin:$PATH "
12
13
13
- # Ensure we have the correct global grunt installed
14
- yarn
global add grunt
[email protected] --
exact
14
+ echo testing grunt version
15
+ yarn run grunt -- --version
15
16
16
17
# Ensure that we have the local dependencies installed
17
18
yarn install
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ function build {
38
38
source ./init-node.sh
39
39
cd ../..
40
40
41
- grunt ci-checks package --no-color
41
+ yarn run grunt -- ci-checks package --no-color
42
42
43
43
cd $SCRIPT_DIR
44
44
}
You can’t perform that action at this time.
0 commit comments