chore(pub): add angular2_material to pub
This commit is contained in:
parent
9d4111d69d
commit
ee8da36d08
@ -14,7 +14,8 @@
|
|||||||
"Rado Kirov <radokirov@google.com>",
|
"Rado Kirov <radokirov@google.com>",
|
||||||
"Tobias Bosch <tbosch@google.com>",
|
"Tobias Bosch <tbosch@google.com>",
|
||||||
"Victor Savkin <vsavkin@google.com>",
|
"Victor Savkin <vsavkin@google.com>",
|
||||||
"Yegor Jbanov <yjbanov@google.com>"
|
"Yegor Jbanov <yjbanov@google.com>",
|
||||||
|
"Jeremy Elbourn <jelbourn@google.com>"
|
||||||
],
|
],
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
@ -5,6 +5,11 @@
|
|||||||
set -ex
|
set -ex
|
||||||
shopt -s extglob
|
shopt -s extglob
|
||||||
|
|
||||||
|
DRY_RUN=false
|
||||||
|
if [[ $1 == '--dry_run' ]]; then
|
||||||
|
DRY_RUN=true
|
||||||
|
fi;
|
||||||
|
|
||||||
ROOT_DIR=$(cd $(dirname $0)/../..; pwd)
|
ROOT_DIR=$(cd $(dirname $0)/../..; pwd)
|
||||||
cd $ROOT_DIR
|
cd $ROOT_DIR
|
||||||
|
|
||||||
@ -12,6 +17,7 @@ gulp clean
|
|||||||
gulp build/packages.dart
|
gulp build/packages.dart
|
||||||
gulp build/pubspec.dart
|
gulp build/pubspec.dart
|
||||||
gulp build/analyze.dart
|
gulp build/analyze.dart
|
||||||
|
gulp build.dart.material
|
||||||
|
|
||||||
PKG_DIR=$ROOT_DIR/dist/pub
|
PKG_DIR=$ROOT_DIR/dist/pub
|
||||||
rm -fr $PKG_DIR
|
rm -fr $PKG_DIR
|
||||||
@ -27,9 +33,12 @@ function publishModule {
|
|||||||
|
|
||||||
node scripts/publish/pubspec_cleaner.js --pubspec-file=$PUBLISH_DIR/pubspec.yaml
|
node scripts/publish/pubspec_cleaner.js --pubspec-file=$PUBLISH_DIR/pubspec.yaml
|
||||||
|
|
||||||
(cd $PUBLISH_DIR && pub publish)
|
if [[ ! $DRY_RUN ]]; then
|
||||||
|
(cd $PUBLISH_DIR && pub publish)
|
||||||
|
fi;
|
||||||
}
|
}
|
||||||
|
|
||||||
publishModule angular2
|
publishModule angular2
|
||||||
publishModule benchpress
|
publishModule benchpress
|
||||||
publishModule benchmarks
|
publishModule benchmarks
|
||||||
|
publishModule angular2_material
|
||||||
|
Loading…
x
Reference in New Issue
Block a user