Last active
September 10, 2016 17:07
-
-
Save johnhunter/6621891 to your computer and use it in GitHub Desktop.
Teamcity grunt runner test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* jshint node: true */ | |
module.exports = function(grunt) { | |
grunt.registerTask('default', ['concat:test']); | |
grunt.loadNpmTasks('grunt-contrib-concat'); | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
concat: { | |
test: { | |
// src/three.js does not exist | |
// raises a Grunt warning to stderr | |
// is not reported in TeamCity | |
src: ['src/one.js', 'src/two.js', 'src/three.js'], | |
dest: 'build/out.js', | |
nonull: true | |
} | |
} | |
}); | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "Scratch", | |
"version": "0.1.0", | |
"devDependencies": { | |
"grunt": "~0.4.1", | |
"grunt-contrib-concat": "~0.3.0" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment