Skip to content

Commit

Permalink
Merge df05f63 into 776ce8c
Browse files Browse the repository at this point in the history
  • Loading branch information
teppeis committed May 11, 2013
2 parents 776ce8c + df05f63 commit 9f78220
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 30 deletions.
30 changes: 30 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
module.exports = function(grunt) {
grunt.initConfig({
mochacov: {
options: {
files: ['test/*.coffee']
},
test: {
options: {
reporter: 'spec'
}
},
coveralls: {
options: {
coveralls: {
serviceName: 'travis-ci'
}
}
}
}
});
grunt.loadNpmTasks('grunt-mocha-cov');

grunt.registerTask('coveralls', ['mochacov:coveralls']);
var testTasks = ['mochacov:test'];
if (process.env.TRAVIS_JOB_ID) {
testTasks.push('coveralls');
}
grunt.registerTask('test', testTasks);
grunt.registerTask('default', ['test']);
};
26 changes: 0 additions & 26 deletions Makefile

This file was deleted.

13 changes: 9 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
"fixclosure": "./bin/fixclosure.js"
},
"scripts": {
"test": "make test"
"test": "node_modules/grunt-cli/bin/grunt",
"blanket": {
"pattern": "/fixclosure/lib/"
}
},
"repository": "https://github.com/teppeis/fixclosure",
"author": "Teppei Sato <teppeis@gmail.com>",
Expand All @@ -16,9 +19,11 @@
"chai": "~1.5.0",
"mocha": "~1.9.0",
"coffee-script": "~1.6.0",
"jscoverage": "~0.3.6",
"mocha-lcov-reporter": "0.0.1",
"coveralls": "~2.0.7"
"coveralls": "~2.0.7",
"grunt": "~0.4.1",
"grunt-mocha-cov": "0.0.7",
"grunt-cli": "~0.1.8",
"mocha-lcov-reporter": "0.0.1"
},
"dependencies": {
"commander": "~1.1.0",
Expand Down

0 comments on commit 9f78220

Please sign in to comment.