forked from TheThingsNetwork/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgulpfile.js
More file actions
22 lines (18 loc) · 766 Bytes
/
gulpfile.js
File metadata and controls
22 lines (18 loc) · 766 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
var gulp = require('gulp');
var download = require('gulp-download-stream');
gulp.task('pull', function() {
download([{
url: 'https://raw.githubusercontent.com/TheThingsNetwork/node-app-lib/master/API.md',
file: '_versions/refactor/node-js/_api.md'
}, {
url: 'https://raw.githubusercontent.com/TheThingsNetwork/arduino-device-lib/master/API.md',
file: '_versions/refactor/arduino/_api.md'
}, {
url: 'https://raw.githubusercontent.com/TheThingsNetwork/ttn/refactor/mqtt/README.md',
file: '_versions/refactor/mqtt/_api.md'
}, {
url: 'https://raw.githubusercontent.com/TheThingsNetwork/ttn/refactor/ttnctl/cmd/docs/README.md',
file: '_versions/refactor/cli/_api.md'
}])
.pipe(gulp.dest('.'));
});