Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Teamcity grunt runner test
/* 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
}
}
});
};
{
"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