Grunt plugin for File upload to Deploygate
This plugin requires Grunt ~0.4.5
If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
npm install grunt-deploygate --save-dev
Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
grunt.loadNpmTasks('grunt-deploygate');
In your project's Gruntfile, add a section named deploygate
to the data object passed into grunt.initConfig()
.
grunt.initConfig({
deploygate: {
src:'location/to/file',
options: {
// Task-specific options go here.
}
},
});
grunt.initConfig({
deploygate: {
src: 'location/to/file',
options: {
url: "https://deploygate.com/api/users/[owner_name]/apps",
paramObj: {
'token': "API_Key"
}
}
}
});
Type: String
Default value: ''
Required
Type: String
Default value: ''
(Optional) Push message
Type: String
Default value: ''
Replace [distribution_key] with your distribution page URL hash key. https://deploygate.com/distributions/[distribution_key]
Type: String
Default value: ''
(Optional) Distribution message
Type: String
Default value: ''
(Optional) If you set yes as a value, disable notify via email.(iOS only.)
Type: String
Default value: 'private'
(Optional) Set a new application's privacy setting by specifying private(default) or public. If you are using Personal Free account, you have to specify public to upload a new app since it doesn't have a slot for private app. No effect when updating.
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.
(Nothing yet)