-
Notifications
You must be signed in to change notification settings - Fork 0
/
gulpfile.js
35 lines (32 loc) · 966 Bytes
/
gulpfile.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
var gulp = require('gulp');
var concat = require('gulp-concat');
var notify = require('gulp-notify');
var paths = {
files: [
'./src/header.md',
'./src/application.md',
//'./src/group.md',
'./src/profile.md',
'./src/identity.md',
'./src/instance.md',
'./src/tag.md',
'./src/provider.md',
'./src/provider_sizes.md',
'./src/volume.md',
'./src/project.md',
'./src/null_project.md',
'./src/maintenance_message.md',
'./src/instance_history.md'
]
};
// Apiary will connect to GitHub and use the apiary.apib file to display documentation
// to end users. The file is required to have the name apiary.apib by Apiary.
gulp.task('create_apiary_blueprint', function(){
return gulp.src(paths.files)
.pipe(concat('apiary.apib'))
.pipe(gulp.dest('./'))
.pipe(notify({ message: 'Apiary Blueprint Build task complete' }));
});
gulp.task('default', function(){
gulp.start('create_apiary_blueprint');
});