diff --git a/Gruntfile.js b/Gruntfile.js index 6fcc054..1e79651 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -1,23 +1,7 @@ module.exports = function (grunt) { - grunt.loadNpmTasks("grunt-git-describe"); - - grunt.initConfig({ - "git-describe": { - options: {}, - default: {} - } - }); - - grunt.registerTask("saveRevision", function () { - grunt.event.once("git-describe", function (rev) { - grunt.option("gitRevision", rev); - }); - grunt.task.run("git-describe"); - }); - grunt.loadTasks("tasks"); - grunt.registerTask("default", ["bower-install-simple", "lint", "saveRevision", "copy", "sass", "postcss", "requirejs"]); + grunt.registerTask("default", ["bower-install-simple", "lint", "copy", "sass", "postcss", "requirejs"]); grunt.registerTask("lint", ["eslint"]); grunt.registerTask("dev", ["default", "connect:server", "watch"]); }; diff --git a/html/index.html b/html/index.html index 66b1f96..2783ae0 100644 --- a/html/index.html +++ b/html/index.html @@ -9,9 +9,6 @@ - diff --git a/package.json b/package.json index d5cbd37..98738ec 100644 --- a/package.json +++ b/package.json @@ -4,21 +4,20 @@ "test": "node -e \"require('grunt').cli()\" '' clean lint" }, "devDependencies": { - "autoprefixer": "^6.3.3", - "grunt": "^0.4.5", - "grunt-check-dependencies": "^0.6.0", - "grunt-contrib-clean": "^0.6.0", - "grunt-contrib-connect": "^0.8.0", - "grunt-contrib-copy": "^0.5.0", - "grunt-contrib-cssmin": "^0.12.2", - "grunt-contrib-requirejs": "^0.4.4", - "grunt-sass": "^1.1.0", - "grunt-postcss": "^0.7.2", - "grunt-contrib-uglify": "^0.5.1", - "grunt-contrib-watch": "^0.6.1", - "grunt-eslint": "^10.0.0", - "grunt-bower-install-simple": "^1.1.2", - "grunt-git-describe": "^2.3.2" + "autoprefixer": "^6.3.6", + "grunt": "^1.0.1", + "grunt-bower-install-simple": "^1.2.1", + "grunt-check-dependencies": "^0.12.0", + "grunt-contrib-clean": "^1.0.0", + "grunt-contrib-connect": "^1.0.2", + "grunt-contrib-copy": "^1.0.0", + "grunt-contrib-cssmin": "^1.0.1", + "grunt-contrib-requirejs": "^1.0.0", + "grunt-contrib-uglify": "^1.0.1", + "grunt-contrib-watch": "^1.0.0", + "grunt-eslint": "^18.1.0", + "grunt-postcss": "^0.8.0", + "grunt-sass": "^1.2.0" }, "eslintConfig": { "env": { diff --git a/tasks/build.js b/tasks/build.js index b360a60..388904b 100644 --- a/tasks/build.js +++ b/tasks/build.js @@ -3,11 +3,6 @@ module.exports = function (grunt) { bowerdir: "bower_components", copy: { html: { - options: { - process: function (content) { - return content.replace("#revision#", grunt.option("gitRevision")); - } - }, src: ["*.html"], expand: true, cwd: "html/",