forked from CloudBoost/cloudboost
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgruntfile.js
More file actions
29 lines (23 loc) · 755 Bytes
/
gruntfile.js
File metadata and controls
29 lines (23 loc) · 755 Bytes
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
/*
# CloudBoost - Core Engine that powers Bakend as a Service
# (c) 2014 HackerBay, Inc.
# CloudBoost may be freely distributed under the Apache 2 License
*/
module.exports = function (grunt) {
var pkg = require("./package.json");
grunt.initConfig({
bumpup: 'package.json',
env : {
build : {
CLOUDBOOST_VERSION : pkg.version
},
},
eslint : {
all:["*.js","**/*.js","api/**/*.js","!node_modules/**/*.js"]
}
});
grunt.loadNpmTasks("grunt-bumpup");
grunt.loadNpmTasks("grunt-env");
grunt.loadNpmTasks("grunt-eslint");
grunt.registerTask('default', ['bumpup', "env:build","eslint:all"]);
};