build: create material-examples package (#4046)

This commit is contained in:
Paul Gschwendtner
2017-04-12 16:37:08 -07:00
committed by Jeremy Elbourn
parent 3545df7c4f
commit abd2ac6489
164 changed files with 311 additions and 182 deletions
@@ -39,7 +39,7 @@ OPTS=(
# List of path prefixes to be removed from ES6 & CommonJS modules.
"--js_module_root=dist/packages"
"--js_module_root=dist/release"
"--js_module_root=dist/releases/material"
"--js_module_root=node_modules/@angular/core"
"--js_module_root=node_modules/@angular/common"
"--js_module_root=node_modules/@angular/compiler"
@@ -57,7 +57,7 @@ OPTS=(
"--debug"
# Include the Material FESM bundle
dist/release/@angular/material.js
dist/releases/material/@angular/material.js
# Include all Angular FESM bundles.
node_modules/@angular/core/@angular/core.js
+1 -1
View File
@@ -8,7 +8,7 @@ set -e -o pipefail
# Go to the project root directory
cd $(dirname $0)/../..
buildDir="dist/release"
buildDir="dist/releases/material"
buildVersion=$(sed -nE 's/^\s*"version": "(.*?)",$/\1/p' package.json)
commitSha=$(git rev-parse --short HEAD)