From 09311956957f8b810afdb649045f01536f79ada9 Mon Sep 17 00:00:00 2001 From: Pawel Kozlowski Date: Tue, 3 Nov 2015 15:03:18 +0100 Subject: [PATCH] chore(build): more clean up for legacy typings bundle creation Related to 5f2eb3e078aeb8c3966e8fb279c332506021e58d Closes #5091 --- DEVELOPER.md | 6 ------ scripts/publish/npm_publish.sh | 3 +-- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/DEVELOPER.md b/DEVELOPER.md index 05107a4131..66bfdcdf02 100644 --- a/DEVELOPER.md +++ b/DEVELOPER.md @@ -145,12 +145,6 @@ You can selectively build either the JS or Dart versions as follows: * `$(npm bin)/gulp build.js` * `$(npm bin)/gulp build.dart` -Also note that in order for the whole test suite to succeed you will need to generate the type definitions by running: - -```shell -$(npm bin)/gulp docs/typings -``` - To clean out the `dist` folder, run: ```shell diff --git a/scripts/publish/npm_publish.sh b/scripts/publish/npm_publish.sh index f67d6774c1..bb269b7642 100755 --- a/scripts/publish/npm_publish.sh +++ b/scripts/publish/npm_publish.sh @@ -7,7 +7,7 @@ cd $ROOT_DIR gulp clean # benchpress.bundle and bundles.js will implicitly build everything we need -gulp benchpress.bundle bundles.js docs/typings +gulp benchpress.bundle bundles.js NPM_DIR=$ROOT_DIR/dist/npm rm -fr $NPM_DIR @@ -35,7 +35,6 @@ function publishModule { # Copy Bundles cp -r $ROOT_DIR/dist/js/bundle/$FILES $PUBLISH_DIR/bundles # Copy Typings - cp -r $ROOT_DIR/dist/docs/typings/angular2/$DTS_FILES $PUBLISH_DIR/bundles/typings/angular2 cp -r $ROOT_DIR/modules/angular2/typings/es6-shim/$DTS_FILES $PUBLISH_DIR/bundles/typings/es6-shim cp -r $ROOT_DIR/modules/angular2/typings/jasmine/$DTS_FILES $PUBLISH_DIR/bundles/typings/jasmine fi