-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathGruntFile.js
executable file
·43 lines (35 loc) · 1.16 KB
/
GruntFile.js
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
module.exports = function(grunt) {
var gtx = require('gruntfile-gtx').wrap(grunt);
gtx.loadAuto();
var gruntConfig = require('./grunt');
gruntConfig.package = require('./package.json');
gtx.config(gruntConfig);
// We need our bower components in order to develop
gtx.alias('build:angular', [
'recess:less',
'clean:angular',
'copy:libs',
'copy:angular',
'useminPrepare',
'concat:generated',
'cssmin:generated',
'uglify:generated',
'usemin',
'clean:tmp'
]);
gtx.alias('build:html', [
'clean:html',
'copy:html',
'recess:html',
'swig:html',
'concat:html',
'uglify:html'
]);
gtx.alias('build:landing', ['copy:landing', 'swig:landing']);
gtx.alias('release', ['bump-commit']);
gtx.alias('release-patch', ['bump-only:patch', 'release']);
gtx.alias('release-minor', ['bump-only:minor', 'release']);
gtx.alias('release-major', ['bump-only:major', 'release']);
gtx.alias('prerelease', ['bump-only:prerelease', 'release']);
gtx.finalise();
}