diff options
author | Michaël Ball <michael.ball@gmail.com> | 2014-12-28 12:24:22 +0000 |
---|---|---|
committer | Michaël Ball <michael.ball@gmail.com> | 2015-11-27 20:02:04 +0000 |
commit | 75beec91a8526fbbc0a90134140b9dff6af15c0c (patch) | |
tree | 02414e46da3e08000384c40c27b7aab9748de0fe /Gruntfile.js | |
parent | a2964845e3c03b9cf5f01583f53f7553c7d67caf (diff) |
Initial frontend work
Diffstat (limited to 'Gruntfile.js')
-rw-r--r-- | Gruntfile.js | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Gruntfile.js b/Gruntfile.js new file mode 100644 index 0000000..a220434 --- /dev/null +++ b/Gruntfile.js @@ -0,0 +1,28 @@ +module.exports = function(grunt) { + var path = require("path"); + + grunt.initConfig({ + pkg: grunt.file.readJSON("package.json"), + bower: { + install: { + options: { + targetDir: "static/scripts/libs", + install: true, + cleanup: true, + layout: "byComponent" + } + } + }, + run: { + mach2: { + cmd: "python", + args: ["mach2.py"] + } + } + }); + + grunt.loadNpmTasks("grunt-bower-task"); + grunt.loadNpmTasks("grunt-run"); + + grunt.task.registerTask("default", ["bower:install", "run:mach2"]); +}; |