Skip to content

Commit

Permalink
Starting #394 #395 Basic implementation started
Browse files Browse the repository at this point in the history
  • Loading branch information
eonarheim committed May 17, 2015
1 parent 19ff31b commit caedff7
Show file tree
Hide file tree
Showing 6 changed files with 8,427 additions and 7,651 deletions.
16 changes: 13 additions & 3 deletions GruntFile.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,18 @@ module.exports = function (grunt) {
},

//
// UglifyJS configuration
// TS Lint configuration
//
uglify: {}
tslint: {
options: {
formatter: 'prose',
configuration: grunt.file.readJSON('./tslint/tslint.json'),
rulesDirectory: './tslint/rules'
},
src: [
"src/engine/Actor.ts"
]
}
});

//
Expand All @@ -160,6 +169,7 @@ module.exports = function (grunt) {
grunt.loadNpmTasks('grunt-contrib-concat');
grunt.loadNpmTasks('grunt-contrib-copy');
grunt.loadNpmTasks('grunt-jasmine-node');
grunt.loadNpmTasks('grunt-tslint');
grunt.loadNpmTasks('grunt-contrib-watch');

//
Expand All @@ -173,7 +183,7 @@ module.exports = function (grunt) {
grunt.registerTask('sample', ['shell:sample']);

// Default task - compile, test, build dists
grunt.registerTask('default', ['tests', 'shell:tsc', 'minified', 'concat', 'copy', 'sample', 'shell:nuget']);
grunt.registerTask('default', ['tslint:src', 'tests', 'shell:tsc', 'minified', 'concat', 'copy', 'sample', 'shell:nuget']);

grunt.registerTask('compile', ['shell:tsc', 'minified', 'concat', 'copy', 'shell:nuget'])

Expand Down
Loading

0 comments on commit caedff7

Please sign in to comment.