From 20cce6ebd3953996ef5b3c1f1ca864f5ad9db908 Mon Sep 17 00:00:00 2001 From: Adam Freidin Date: Thu, 3 Dec 2015 09:22:43 -0800 Subject: [PATCH 1/2] fix instructions for contributing to lib.d.ts --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 68d88854849..a65fe439b17 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -38,7 +38,7 @@ The library sources are in: [src/lib](https://github.com/Microsoft/TypeScript/tr To build the library files, run ```Shell -jake lib +jake LKG ``` #### `src/lib/dom.generated.d.ts` and `src/lib/webworker.generated.d.ts` From f8d2a036308f6acf173de088617073361986f915 Mon Sep 17 00:00:00 2001 From: Adam Freidin Date: Thu, 3 Dec 2015 10:39:40 -0800 Subject: [PATCH 2/2] clarify documentation --- CONTRIBUTING.md | 6 ++++-- lib/README.md | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a65fe439b17..03b799574b2 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -36,11 +36,13 @@ Your pull request should: The library sources are in: [src/lib](https://github.com/Microsoft/TypeScript/tree/master/src/lib) -To build the library files, run +Library files in ```built/local/``` are updated by running ```Shell -jake LKG +jake ``` +The files in ```lib/``` are used to bootstrap compilation and usually do not need to be updated. + #### `src/lib/dom.generated.d.ts` and `src/lib/webworker.generated.d.ts` These two files represent the DOM typings and are auto-generated. To make any modifications to them, please submit a PR to https://github.com/Microsoft/TSJS-lib-generator diff --git a/lib/README.md b/lib/README.md index b2837989505..71967e6a18a 100644 --- a/lib/README.md +++ b/lib/README.md @@ -1,4 +1,4 @@ # Read this! These files are not meant to be edited by hand. -If you need to make modifications, the respective files should be changed within the repository's top-level `src` directory. \ No newline at end of file +If you need to make modifications, the respective files should be changed within the repository's top-level `src` directory and ```jake LKG``` flushes the changes here. \ No newline at end of file