Last change
on this file since 516 was
516,
checked in by hendrikvanantwerpen, 11 years ago
|
Enable deployment with Grunt.
|
File size:
653 bytes
|
Line | |
---|
1 | |
---|
2 | /* global module: true */ |
---|
3 | module.exports = function (grunt) { |
---|
4 | grunt.loadNpmTasks("grunt-shell"); |
---|
5 | grunt.loadTasks("../tasks"); |
---|
6 | |
---|
7 | grunt.initConfig({ |
---|
8 | pkg: grunt.file.readJSON("package.json"), |
---|
9 | shell: { |
---|
10 | "cat": { |
---|
11 | command: "cat Gruntfile.js" |
---|
12 | } |
---|
13 | }, |
---|
14 | "path-check": { |
---|
15 | "tools1": { |
---|
16 | src: [ "cp", "ls", "mv", "perl", "w3m" ] |
---|
17 | }, |
---|
18 | "tools2": { |
---|
19 | src: [ "catx" ], |
---|
20 | options: { mandatory: false, tasks: [ "shell:cat" ] } |
---|
21 | } |
---|
22 | } |
---|
23 | }); |
---|
24 | |
---|
25 | grunt.registerTask("default", [ "path-check" ]); |
---|
26 | }; |
---|
27 | |
---|
Note: See
TracBrowser
for help on using the repository browser.