51 Commits

Author SHA1 Message Date
Sheetal Nandi
06d188a255 Support --locale with --build
Fixes #31960
2019-06-19 15:38:05 -07:00
Sheetal Nandi
f0b7e08d2c Move towards BuildInvalidatedProject api where one can query program and perform its operations 2019-05-09 14:18:15 -07:00
Sheetal Nandi
3da47963d5 Remove startWatching as explicit method from api 2019-05-02 15:22:07 -07:00
Sheetal Nandi
e8074f7fdc Rename cleanAll to clean and take optional project as input 2019-05-02 15:00:53 -07:00
Sheetal Nandi
5b361c8497 Make API to build project and wire cancellation token 2019-05-02 14:16:06 -07:00
Sheetal Nandi
ddee617e84 Make SolutionBuilder and SolutionBuilderWithWatch separate 2019-04-29 13:16:36 -07:00
Nathan Shively-Sanders
4420d1083b
Add diagnostics for relation cache size (#30999)
* Add diagnostics for relation cache size

* Move to extendedDiagnostics

* Single method that returns a 3-property object

* Fix double-space lint
2019-04-17 14:32:18 -07:00
Sheetal Nandi
a4091ae8e3 Merge branch 'master' into incrementalFromCommandLine 2019-03-26 14:57:18 -07:00
Sheetal Nandi
7457e5d9fe Pull out the incremental compilation into a function so we can test it 2019-03-26 14:28:05 -07:00
Sheetal Nandi
021444a248 Make it as api so we can test it 2019-03-26 14:25:56 -07:00
Sheetal Nandi
e28869d888 Ensure that from tsc with --incremental sets source file version
Fixes #30588 and #30589
2019-03-26 14:25:47 -07:00
Sheetal Nandi
35470b3f3b Make tsbuildInfoFile as commandline option to tsc (and not tsc -b) 2019-03-25 14:47:36 -07:00
Sheetal Nandi
0bcc46a4e3 Ensure --pretty with --build is passed correctly to create reporters
Fixes #30282
2019-03-19 10:53:06 -07:00
Sheetal Nandi
a571e50143 Use EmitAndSemanticDiagnosticsBuilder in builder from tsc 2019-03-14 11:54:47 -07:00
Sheetal Nandi
73f6886cd7 Mark tsc.release as incremental 2019-03-12 16:14:23 -07:00
Sheetal Nandi
e41cbb6316 Add incremental to normal tsc 2019-03-08 15:59:59 -08:00
Sheetal Nandi
e51a2fe80d Skip declaration emit for files that are just executables 2019-01-25 14:24:35 -08:00
Sheetal Nandi
f1949bbae8 Use emit builder to emit only changed files. 2018-12-21 12:53:26 -08:00
Sheetal Nandi
56a76d8b62 Revert BuilderProgram to be redirected object to Program in preparation to set Program in state to undefined for storing. 2018-12-21 12:53:25 -08:00
Sheetal Nandi
48baa42d65 Make SolutionBuilder handle BuilderProgram in preparation to handle incremental builds 2018-12-21 12:53:25 -08:00
Daniel Rosenwasser
c2898db9dd
Merge pull request #28612 from vvakame/feat-showConfig-error
show diagnostic when error occurred with --showConfig
2018-12-07 16:42:30 -08:00
Sheetal Nandi
8d5d900567 Factor out caching logic so tsc (without watch can use it and --watch has its own cache logic). 2018-11-21 09:18:03 -08:00
vvakame
d8ac9c1fd1 address comment 2018-11-21 12:36:04 +09:00
vvakame
4986091b32 address comment 2018-11-20 12:19:09 +09:00
Sheetal Nandi
99d357db57 Enable statistics reporting per program through temporary build api 2018-11-19 12:38:36 -08:00
vvakame
d6d9c9ec20 Show diagnostic when error found with --showConfig option 2018-11-19 19:06:43 +09:00
Sheetal Nandi
77ef9cedab Report error summary in pretty mode during normal compilation 2018-11-01 16:11:22 -07:00
Wesley Wigham
a4a1bed88b
Add showConfig tsc flag for debugging configs (#27353)
* Add showConfig tsc flag for debugging configs

* Merge showConfig implementation with init implementation, add basic unit tests

* Fix lint

* Add missing semicolon

* showConfig when theres no config file
2018-10-31 15:57:09 -07:00
Sheetal Nandi
c63d58148a Fix the usage of createProgram in tsc 2018-09-14 12:44:02 -07:00
Sheetal Nandi
37c3c5d8bb Refactoring 2018-09-13 10:04:52 -07:00
Sheetal Nandi
a172751bf9 Always resolve the config file to ResolvedConfigFile if its json, otherwise combine tsconfig.json 2018-09-11 13:02:50 -07:00
Sheetal Nandi
d6ff1a7241 Move parsing of build options to commandLineParsing so it can be tested and it lines with other commandline parsing 2018-08-29 12:52:27 -07:00
Sheetal Nandi
068840d471 Add shortname for watch option 2018-08-29 11:58:38 -07:00
Sheetal Nandi
7960090bb6 Add preserveWatchOutput option to build option and report starting compilation and file changes detected status 2018-08-21 13:41:32 -07:00
Sheetal Nandi
dedb2aefc0 Combine buildHost methods into SolutionBuilderHost's reportDiagnostic and reportStatus 2018-08-21 13:41:32 -07:00
Sheetal Nandi
26b4b6c9ad Create api with watchHost to include in solution builder host 2018-08-21 13:41:32 -07:00
Sheetal Nandi
0c4003e735 Use SolutionBuilderHost instead of using compilerhost for solution builder 2018-08-21 13:41:31 -07:00
Sheetal Nandi
dade3365d6 Print version along with help when doing --build 2018-08-21 13:41:31 -07:00
Sheetal Nandi
e20a7d851f Remove unnecessary usage of system and compilerHost 2018-08-21 13:41:31 -07:00
Sheetal Nandi
071d790dec Unify tsbuild option parsing with command line options parsing 2018-08-21 13:41:30 -07:00
Sheetal Nandi
8e49fec80f Move perform build to tsc instead of tsbuild 2018-08-21 13:41:30 -07:00
Ryan Cavanaugh
e38aad8b79
Merge pull request #25202 from RyanCavanaugh/addChakraAPIs
Add Chakra APIs for tsc.exe --build
2018-06-26 09:29:25 -07:00
Ron Buckton
5ed96ec072 Clean up browserify task, remove unused 'debugMode.js' script 2018-06-25 16:21:28 -07:00
Ryan Cavanaugh
fa9f071c14 Don't try to write --pretty results to unsupported consoles in --build 2018-06-25 14:10:27 -07:00
Ryan Cavanaugh
c184ad7a41 Updates for nightly publish 2018-06-13 15:32:18 -07:00
Ryan Cavanaugh
de82c54e6b Remove extra dependency + build smaller tsc.js into lkg 2018-06-13 14:50:01 -07:00
Ryan Cavanaugh
1bd1899d5a Don't bail wrongly in tsc -b -w 2018-06-13 13:59:52 -07:00
Ryan Cavanaugh
19ac7653f2 Return exit codes from tsbuild 2018-06-13 11:55:40 -07:00
Ryan Cavanaugh
066b191982 Collapse core/compiler/parser into parser 2018-06-11 17:07:58 -07:00
Ryan Cavanaugh
a61a7a2a6e Attempt to rewrite the jakefile and fail 2018-06-10 10:58:16 -07:00