blob: a2204348dac8b03d17543441f329ed046fa28e3e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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"]);
};
|