meshviewer/Gruntfile.js
Xaver Maierhofer c0726461fb [TASK] Add semicolon
Most code is writen with semicolon and IDE shows errors in nearly every line
2016-05-22 16:01:15 +02:00

25 lines
636 B
JavaScript

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("lint", ["eslint"]);
grunt.registerTask("dev", ["default", "connect:server", "watch"]);
};