Skip to content

Commit

Permalink
move test builds into build/test
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwinr committed Sep 29, 2013
1 parent 6fdb4db commit 718d80c
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
.DS_Store
build/
build/test/
node_modules/
2 changes: 1 addition & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
.tslintrc
Gruntfile.js
tslint.json
build/
build/test/
src/
test/
6 changes: 3 additions & 3 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ module.exports = function(grunt) {
clean: {
bin: ['bin/tslint-cli.js'],
lib: ['lib/tslint.js'],
test: ['build/']
test: ['build/test']
},

mochaTest: {
test: {
options: {
reporter: 'spec'
},
src: ['build/**/*.js']
src: ['build/test/**/*.js']
},
},

Expand Down Expand Up @@ -57,7 +57,7 @@ module.exports = function(grunt) {
target: 'es5'
},
src: ['test/**/*.ts', '!test/files/**/*.ts'],
dest: 'build/tslint-tests.js'
dest: 'build/test/tslint-tests.js'
}
}
});
Expand Down
2 changes: 1 addition & 1 deletion bin/tslint-cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -27388,7 +27388,7 @@ var Lint;
};

ScopeAwareRuleWalker.prototype.isScopeBoundary = function (node) {
return node instanceof TypeScript.FunctionDeclarationSyntax || node instanceof TypeScript.FunctionExpressionSyntax || node instanceof TypeScript.MemberFunctionDeclarationSyntax || node instanceof TypeScript.SimpleArrowFunctionExpressionSyntax || node instanceof TypeScript.ParenthesizedArrowFunctionExpressionSyntax || node instanceof TypeScript.ClassDeclarationSyntax;
return node instanceof TypeScript.FunctionDeclarationSyntax || node instanceof TypeScript.FunctionExpressionSyntax || node instanceof TypeScript.MemberFunctionDeclarationSyntax || node instanceof TypeScript.SimpleArrowFunctionExpressionSyntax || node instanceof TypeScript.ParenthesizedArrowFunctionExpressionSyntax || node instanceof TypeScript.ClassDeclarationSyntax || node instanceof TypeScript.InterfaceDeclarationSyntax;
};
return ScopeAwareRuleWalker;
})(Lint.RuleWalker);
Expand Down
2 changes: 1 addition & 1 deletion lib/tslint.js
Original file line number Diff line number Diff line change
Expand Up @@ -27388,7 +27388,7 @@ var Lint;
};

ScopeAwareRuleWalker.prototype.isScopeBoundary = function (node) {
return node instanceof TypeScript.FunctionDeclarationSyntax || node instanceof TypeScript.FunctionExpressionSyntax || node instanceof TypeScript.MemberFunctionDeclarationSyntax || node instanceof TypeScript.SimpleArrowFunctionExpressionSyntax || node instanceof TypeScript.ParenthesizedArrowFunctionExpressionSyntax || node instanceof TypeScript.ClassDeclarationSyntax;
return node instanceof TypeScript.FunctionDeclarationSyntax || node instanceof TypeScript.FunctionExpressionSyntax || node instanceof TypeScript.MemberFunctionDeclarationSyntax || node instanceof TypeScript.SimpleArrowFunctionExpressionSyntax || node instanceof TypeScript.ParenthesizedArrowFunctionExpressionSyntax || node instanceof TypeScript.ClassDeclarationSyntax || node instanceof TypeScript.InterfaceDeclarationSyntax;
};
return ScopeAwareRuleWalker;
})(Lint.RuleWalker);
Expand Down

0 comments on commit 718d80c

Please sign in to comment.