File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed
Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 1414 " Rado Kirov <radokirov@google.com>" ,
1515 " Tobias Bosch <tbosch@google.com>" ,
1616 " Victor Savkin <vsavkin@google.com>" ,
17- " Yegor Jbanov <yjbanov@google.com>"
17+ " Yegor Jbanov <yjbanov@google.com>" ,
18+ " Jeremy Elbourn <jelbourn@google.com>"
1819 ],
1920 "license" : " Apache-2.0" ,
2021 "repository" : {
Original file line number Diff line number Diff line change 55set -ex
66shopt -s extglob
77
8+ DRY_RUN=false
9+ if [[ $1 == ' --dry_run' ]]; then
10+ DRY_RUN=true
11+ fi ;
12+
813ROOT_DIR=$( cd $( dirname $0 ) /../..; pwd)
914cd $ROOT_DIR
1015
1116gulp clean
1217gulp build/packages.dart
1318gulp build/pubspec.dart
1419gulp build/analyze.dart
20+ gulp build.dart.material
1521
1622PKG_DIR=$ROOT_DIR /dist/pub
1723rm -fr $PKG_DIR
@@ -27,9 +33,12 @@ function publishModule {
2733
2834 node scripts/publish/pubspec_cleaner.js --pubspec-file=$PUBLISH_DIR /pubspec.yaml
2935
30- (cd $PUBLISH_DIR && pub publish)
36+ if [[ ! $DRY_RUN ]]; then
37+ (cd $PUBLISH_DIR && pub publish)
38+ fi ;
3139}
3240
3341publishModule angular2
3442publishModule benchpress
3543publishModule benchmarks
44+ publishModule angular2_material
You can’t perform that action at this time.
0 commit comments