build: remove "build.sh" script (#27937)

this script is now obsolete and not needed any more. yay!!!

PR Close #27937
This commit is contained in:
Paul Gschwendtner
2019-01-05 22:15:06 +01:00
committed by Kara Erickson
parent 7ac8b02ec5
commit 98472da03f
5 changed files with 31 additions and 578 deletions
+11
View File
@@ -0,0 +1,11 @@
## Publishing
The `@angular/benchpress` package is not published together with the framework and therefore
the `npm_package` Bazel target does not have the `release-with-framework` tag.
In order to publish this package manually, one can run the following command after bumping
the `version` in the `package.json` of this package:
```
yarn bazel run //packages/benchpress:npm_package.publish
```
-16
View File
@@ -1,16 +0,0 @@
#!/usr/bin/env bash
set -ex
cd $(dirname $0)/../../..
ROOTDIR=$(pwd)
SRCDIR=${ROOTDIR}/packages/benchpress
DESTDIR=${ROOTDIR}/dist/packages-dist/benchpress
rm -fr ${DESTDIR}
echo "====== BUILDING... ====="
./build.sh --packages=core,benchpress --bundle=false
echo "====== PUBLISHING: ${DESTDIR} ====="
npm publish ${DESTDIR} --access public