summaryrefslogtreecommitdiff
path: root/Gruntfile.js
diff options
context:
space:
mode:
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js28
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"]);
+};