grunt-fhc
Version:
Deploy your FeedHenry apps from Grunt.
108 lines (88 loc) • 1.83 kB
JavaScript
/*
* grunt-fhc
* https://github.com/TinyExplosions/grunt-fhc
*
* Copyright (c) 2014 Al Graham
* Licensed under the MIT license.
*/
'use strict';
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
jshint: {
all: [
'Gruntfile.js',
'tasks/*.js'
],
options: {
jshintrc: '.jshintrc',
},
},
fhctarget: {
options: {
username: "teddy",
password: "bear",
domain: "https://feedhenry.com",
},
task: {
}
},
fhcpull: {
task: {
options: {
appid: "cCyusU-ruIMAuyWerBMYvv95",
}
},
},
fhcstage: {
task: {
options: {
appid: "cCyusU-ruIMAuyWerBMYvv95"
}
},
},
fhclocal: {
task: {
options: {
appid: "cCU5wU-ruIMAuyM2CZMYvv95"
}
},
},
fhcstart: {
task: {
options: {
appid: "cCU5wU-ruIMAuyM2CZMYvv95"
}
},
},
fhcstop: {
task: {
options: {
appid: "cCU5wU-ruIMAuyM2CZMYvv95"
}
},
},
fhcrestart: {
task: {
options: {
appid: "cCU5wU-ruIMAuyM2CZMYvv95"
}
},
},
fhcbuild: {
task: {
options: {
appid: "cCU5wU-ruIMAuyM2CZMYvv95",
destination: "iphone"
}
},
},
});
// Actually load this plugin's task(s).
grunt.loadTasks('tasks');
// These plugins provide necessary tasks.x
grunt.loadNpmTasks('grunt-contrib-jshint');
// By default, lint and run all tests.
// grunt.registerTask('default', ['jshint', 'test']);
grunt.registerTask('default', ['jshint', 'fhctarget', 'fhcpull', 'fhcstage', 'fhclocal', 'fhcrestart', 'fhcbuild']);
};