From 75beec91a8526fbbc0a90134140b9dff6af15c0c Mon Sep 17 00:00:00 2001 From: Michaƫl Ball Date: Sun, 28 Dec 2014 12:24:22 +0000 Subject: Initial frontend work --- Gruntfile.js | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Gruntfile.js (limited to 'Gruntfile.js') 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"]); +}; -- cgit v1.2.3