2015-02-10 18:18:16 -05:00
|
|
|
#!/bin/bash
|
|
|
|
set -ex
|
2015-02-24 17:52:05 -05:00
|
|
|
shopt -s extglob
|
2015-02-10 18:18:16 -05:00
|
|
|
|
|
|
|
ROOT_DIR=$(cd $(dirname $0)/../..; pwd)
|
|
|
|
cd $ROOT_DIR
|
2015-02-24 17:52:05 -05:00
|
|
|
|
2015-02-10 18:18:16 -05:00
|
|
|
gulp clean
|
2015-08-11 19:33:03 -04:00
|
|
|
# benchpress.bundle and bundles.js will implicitly build everything we need
|
2015-11-03 09:03:18 -05:00
|
|
|
gulp benchpress.bundle bundles.js
|
2015-02-10 18:18:16 -05:00
|
|
|
|
2015-02-24 17:52:05 -05:00
|
|
|
NPM_DIR=$ROOT_DIR/dist/npm
|
|
|
|
|
2015-11-18 00:35:29 -05:00
|
|
|
scripts/publish/npm_prepare.sh angular2
|
|
|
|
scripts/publish/npm_prepare.sh benchpress
|
2015-02-24 17:52:05 -05:00
|
|
|
|
2015-11-18 00:35:29 -05:00
|
|
|
npm publish $NPM_DIR/angular2
|
|
|
|
npm publish $NPM_DIR/benchpress
|