-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGruntfile.js
38 lines (35 loc) · 1.35 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
'use strict';
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
superjoin: {
browserBuild: {
options: {
umd: true,
verbose: true
},
src: ['inspect.js'],
dest: 'web/inspect.js'
}
},
release: {
options: {
npm: true, //default: true
indentation: ' ', //default: ' ' (two spaces)
tagName: 'v<%= version %>', //default: '<%= version %>'
commitMessage: 'Release v<%= version %>', //default: 'release <%= version %>'
tagMessage: 'Tagging release v<%= version %>' //default: 'Version <%= version %>',
// beforeRelease: ['build'],
// github: {
// repo: 'AndiOxidant/doxydoc.git', //put your user/repo here
// usernameVar: 'GITHUB_USERNAME', //ENVIRONMENT VARIABLE that contains Github username
// passwordVar: 'GITHUB_PASSWORD' //ENVIRONMENT VARIABLE that contains Github password
// }
}
}
});
grunt.loadNpmTasks('grunt-release');
grunt.loadNpmTasks('grunt-superjoin');
grunt.registerTask('default', 'help');
};