@@ -8,9 +8,10 @@ set -e -o pipefail
8
8
# Go to the project root directory
9
9
cd $( dirname $0 ) /../..
10
10
11
- # Build a release of material and of the CDK package .
11
+ # Build a release of material, material-moment-adapter, and cdk packages .
12
12
$( npm bin) /gulp material:build-release:clean
13
13
$( npm bin) /gulp cdk:build-release
14
+ $( npm bin) /gulp material-moment-adapter:build-release
14
15
15
16
# Build demo-app with ES2015 modules. Closure compiler is then able to parse imports.
16
17
$( npm bin) /gulp :build:devapp:assets :build:devapp:scss
38
39
" --js_module_root=dist/packages"
39
40
" --js_module_root=dist/releases/material"
40
41
" --js_module_root=dist/releases/cdk"
42
+ " --js_module_root=dist/releases/material-moment-adapter"
41
43
" --js_module_root=node_modules/@angular/core"
42
44
" --js_module_root=node_modules/@angular/common"
43
45
" --js_module_root=node_modules/@angular/compiler"
49
51
" --js_module_root=node_modules/@angular/platform-browser-dynamic"
50
52
" --js_module_root=node_modules/@angular/animations"
51
53
" --js_module_root=node_modules/@angular/animations/browser"
54
+ " --js_module_root=node_modules/moment"
52
55
53
56
# Flags to simplify debugging.
54
57
" --formatting=PRETTY_PRINT"
57
60
# Include the Material and CDK FESM bundles
58
61
dist/releases/material/@angular/material.js
59
62
dist/releases/cdk/@angular/cdk.js
63
+ dist/releases/material-moment-adapter/@angular/material-moment-adapter.js
60
64
61
65
# Include all Angular FESM bundles.
62
66
node_modules/@angular/core/@angular/core.js
71
75
node_modules/@angular/animations/@angular/animations.js
72
76
node_modules/@angular/animations/@angular/animations/browser.js
73
77
74
- # Include other dependencies like Zone.js and RxJS
78
+ # Include other dependencies like Zone.js, Moment.js, and RxJS
75
79
node_modules/zone.js/dist/zone.js
80
+ node_modules/moment/moment.js
76
81
$rxjsSourceFiles
77
82
78
83
# Include all files from the demo-app package.
0 commit comments