References for future self.
This commit is contained in:
parent
7145f72635
commit
5fdee94b38
11
ts.js
11
ts.js
@ -4,9 +4,14 @@ var fs = require('fs');
|
|||||||
var path = require('path');
|
var path = require('path');
|
||||||
var isTest = process.argv[2] === '--only-test';
|
var isTest = process.argv[2] === '--only-test';
|
||||||
|
|
||||||
// TODO: This file can use some cleaning up. We want to use the tsconfig.json
|
// TODO: This build task should be removed upon release of TypeScript 1.5 with
|
||||||
// and go from there, but then without source maps. That should give us a final
|
// the support for `tsconfig.json`. Invoking `tsc` from `package.json` will then
|
||||||
// build output. For now, this legacy build file will remain to do its job.
|
// read the configuration and compile accordingly. It seems that `TSLint` will,
|
||||||
|
// eventually, support this mechanism too. That prevents the need for any kind
|
||||||
|
// of build task and will run entirely based on instructions from `npm`.
|
||||||
|
//
|
||||||
|
// Reference #1: https://github.com/Microsoft/TypeScript/issues/1667
|
||||||
|
// Reference #2: https://github.com/palantir/tslint/issues/281
|
||||||
|
|
||||||
read(function(err, fileNames) {
|
read(function(err, fileNames) {
|
||||||
clean(fileNames, function() {
|
clean(fileNames, function() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user