mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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:
committed by
Kara Erickson
parent
7ac8b02ec5
commit
98472da03f
@@ -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
|
||||
```
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user