summaryrefslogtreecommitdiff
path: root/Gruntfile.js
blob: d7ec914a0330d923dd79f25f8bdf6b0870a4fda5 (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']);
};