-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathGruntfile.js
More file actions
46 lines (37 loc) · 1.1 KB
/
Gruntfile.js
File metadata and controls
46 lines (37 loc) · 1.1 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/*!
GPII Universal project Gruntfile
Copyright 2014 RTF-US
Licensed under the New BSD license. You may not use this file except in
compliance with this License.
You may obtain a copy of the License at
https://github.com/gpii/universal/LICENSE.txt
*/
"use strict";
module.exports = function(grunt) {
grunt.loadNpmTasks("grunt-contrib-jshint");
grunt.loadNpmTasks("grunt-jsonlint");
grunt.loadNpmTasks("grunt-shell");
grunt.loadNpmTasks("grunt-gpii");
var gpiiGrunt = grunt.config.getRaw("gpiiGruntGlobal");
grunt.initConfig({
jshint: {
src: ["lib/**/*.js"],
buildScripts: ["Gruntfile.js"],
options: {
jshintrc: true
}
}
});
grunt.registerTask("build", "Build the RBMM", function () {
gpiiGrunt.shellImmediate({
name: "build",
command: "npm install"
});
});
grunt.registerTask("start", "Start the GPII", function () {
gpiiGrunt.shellImmediate({
name: "start",
command: "node bin/ruleBasedMatchMaker"
});
});
};