grunt-swift
![npm](https://img.shields.io/npm/v/grunt-swift.svg?style=flat)
![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)
Module for globo.com swift
Install
$ npm install --save grunt-swift
Usage
# Gruntfile
grunt.initConfig
swift:
options:
credentials:
auth:
tenantName: 'my-tenant'
passwordCredentials:
username: 'my-user'
password: 'my-pass'
container: 'my-container'
storageName: 'my-storage-name'
storageURLAttribute: 'my-storage-url-attribute'
storagePath: 'my-storage-path'
localFile: '<%= config.dist %>/**/*.*' # my pattern
dev:
options:
credentials:
host: 'https://my-auth-host-for-dev.com'
prod:
options:
credentials:
host: 'https://my-auth-host-for-prod.com'
License
2015 MIT © Rafael Floriano da Silva