Skip to content

Commit

Permalink
fix(router): add a banner file for the router (#12919)
Browse files Browse the repository at this point in the history
  • Loading branch information
vsavkin authored and chuckjaz committed Nov 17, 2016
1 parent 7b67bad commit 364642d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
8 changes: 7 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,13 @@ do
UMD_ES5_MIN_PATH=${DESTDIR}/bundles/${PACKAGE}.umd.min.js
UMD_STATIC_ES5_MIN_PATH=${DESTDIR}/bundles/${PACKAGE}-static.umd.min.js
UMD_UPGRADE_ES5_MIN_PATH=${DESTDIR}/bundles/${PACKAGE}-upgrade.umd.min.js
LICENSE_BANNER=${PWD}/modules/@angular/license-banner.txt

if [[ ${PACKAGE} != router ]]; then
LICENSE_BANNER=${PWD}/modules/@angular/license-banner.txt
fi
if [[ ${PACKAGE} == router ]]; then
LICENSE_BANNER=${PWD}/modules/@angular/router-license-banner.txt
fi

rm -rf ${DESTDIR}

Expand Down
5 changes: 5 additions & 0 deletions modules/@angular/router-license-banner.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/**
* @license Angular v0.0.0-ROUTERPLACEHOLDER
* (c) 2010-2016 Google, Inc. https://angular.io/
* License: MIT
*/
3 changes: 2 additions & 1 deletion modules/@angular/router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"peerDependencies": {
"@angular/core": "0.0.0-PLACEHOLDER",
"@angular/common": "0.0.0-PLACEHOLDER",
"@angular/platform-browser": "0.0.0-PLACEHOLDER"
"@angular/platform-browser": "0.0.0-PLACEHOLDER",
"rxjs": "5.0.0-beta.12"
}
}

0 comments on commit 364642d

Please sign in to comment.