From c96ec65103dd9de6f4ebb0362249f9e7060b13eb Mon Sep 17 00:00:00 2001 From: Jason Karns Date: Sun, 19 Oct 2014 23:11:59 -0400 Subject: [PATCH 1/3] add grunt-release to automate releases --- Gruntfile.coffee | 3 +++ package.json | 2 ++ 2 files changed, 5 insertions(+) create mode 100644 Gruntfile.coffee diff --git a/Gruntfile.coffee b/Gruntfile.coffee new file mode 100644 index 0000000..08d5385 --- /dev/null +++ b/Gruntfile.coffee @@ -0,0 +1,3 @@ +module.exports = (grunt) -> + + grunt.loadNpmTasks 'grunt-release' diff --git a/package.json b/package.json index 6bed6da..ef5c297 100644 --- a/package.json +++ b/package.json @@ -28,6 +28,8 @@ }, "devDependencies": { "chai": "^1.9.1", + "grunt": "^0.4.5", + "grunt-release": "^0.7.0", "mocha": "^1.21.4", "q": "^1.0.0", "xml2js": "^0.4.1" From 14a284ba4ca45a3a97cd81c55d2cbe11ddf4e1ce Mon Sep 17 00:00:00 2001 From: Jason Karns Date: Sun, 19 Oct 2014 23:19:50 -0400 Subject: [PATCH 2/3] coffee2js --- Gruntfile.coffee | 3 --- Gruntfile.js | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) delete mode 100644 Gruntfile.coffee create mode 100644 Gruntfile.js diff --git a/Gruntfile.coffee b/Gruntfile.coffee deleted file mode 100644 index 08d5385..0000000 --- a/Gruntfile.coffee +++ /dev/null @@ -1,3 +0,0 @@ -module.exports = (grunt) -> - - grunt.loadNpmTasks 'grunt-release' diff --git a/Gruntfile.js b/Gruntfile.js new file mode 100644 index 0000000..dc2e0bd --- /dev/null +++ b/Gruntfile.js @@ -0,0 +1,3 @@ +module.exports = function(grunt) { + return grunt.loadNpmTasks('grunt-release'); +}; From df9c1d3e2a276e106a5fbfdc6726d4a5cb5464f3 Mon Sep 17 00:00:00 2001 From: Jason Karns Date: Sun, 19 Oct 2014 23:21:48 -0400 Subject: [PATCH 3/3] no return needed in gruntfile --- Gruntfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gruntfile.js b/Gruntfile.js index dc2e0bd..080dd02 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -1,3 +1,3 @@ module.exports = function(grunt) { - return grunt.loadNpmTasks('grunt-release'); + grunt.loadNpmTasks('grunt-release'); };