forked from sebsauvage/Shaarli
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGruntfile.js
More file actions
executable file
·34 lines (30 loc) · 921 Bytes
/
Gruntfile.js
File metadata and controls
executable file
·34 lines (30 loc) · 921 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
30
31
32
33
34
module.exports = function (grunt) {
// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON('package.json')
, phpdocumentor: {
// Place here Task level options (i.e common to all your phpDocumentor targets)
options: {
command: 'run'
}
, all: {
options: {
directory: './src',
target: 'docs'
}
}
, display_help: {
options: {
command: 'help'
}
}
}
});
//load tasks
//grunt.loadNpmTasks('grunt-bower-requirejs');
grunt.loadNpmTasks('grunt-phpdocumentor');
//register tasks
grunt.registerTask('default', []);
grunt.registerTask('generate:doc', ['phpdocumentor:all']);
grunt.registerTask('all', ['phpdocumentor:all']);
};