0.1.0 • Published 9 years ago
gulp-highwinds v0.1.0
gulp-highwinds
Highwinds plugin for gulp based on gulp-cloudfiles.
Install
npm install --save-dev gulp-highwinds
Config
Setup a highwinds.json
file or load these through another config file or env vars.
{
"username": "HIGHWINDS-USERNAME",
"password": "HIGHWINDS-PASSWORD",
"authUrl": "HIGHWINDS-AUTH-URL",
"container": "HIGHWINDS-CONTAINER"
}
Usage
var fs = require('fs')
var gulp = require('gulp');
var openstack = require("gulp-highwinds");
var highwinds = JSON.parse(fs.readFileSync('./rackspace.json'));
var options = {}
gulp.task('highwinds', function() {
return gulp.src('./dist/**', {read: false})
.pipe(openstack(highwinds, options));
});
Options
headers
- Headers to set to each file uploaded - Type: object - Default:{}
uploadPath
- Type: String - Default:""
License
0.1.0
9 years ago