mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
build: use shared logic to build packages (#4202)
* build: use shared logic to build packages * No longer creates the whole set of gulp tasks just to build a single package. * Makes the package building & releasing more consistent. No extra `build:release` just for the `lib` package. References #4108 * Address feedback
This commit is contained in:
committed by
mmalerba
parent
14b330eecd
commit
2b8f753028
@@ -9,8 +9,8 @@ set -e -o pipefail
|
||||
cd $(dirname $0)/../..
|
||||
|
||||
|
||||
# Build a release of the library and of the CDK package.
|
||||
$(npm bin)/gulp build:release
|
||||
# Build a release of material and of the CDK package.
|
||||
$(npm bin)/gulp material:build-release:clean
|
||||
$(npm bin)/gulp cdk:build-release
|
||||
|
||||
# Build demo-app with ES2015 modules. Closure compiler is then able to parse imports.
|
||||
|
||||
@@ -21,7 +21,7 @@ repoUrl="https://github.com/angular/material2-builds.git"
|
||||
repoDir="tmp/$repoName"
|
||||
|
||||
# Create a release of the current repository.
|
||||
$(npm bin)/gulp build:release
|
||||
$(npm bin)/gulp material:build-release:clean
|
||||
|
||||
# Prepare cloning the builds repository
|
||||
rm -rf $repoDir
|
||||
|
||||
Reference in New Issue
Block a user