Note: this is a beta package.
npm install grunt-cordovizer --save
By adding:
grunt.initConfig({
// ...
cordovize: {
options: {
application: {
name: 'DemoApp',
id: 'com.tamasutasi',
},
platforms: ['browser', 'android'],
plugins: [
'org.apache.cordova.splashscreen'
]
}
}
// ...
});
grunt.loadNpmTasks('grunt-cordovizer');
to your Gruntfile.js you can generate cordova artifacts whenever you need. This way you don't need to commit generated artifacts to your repository.
Fixed:
- working directory (/tmp/cordova-generated-artifacts) are cleaned up (was /tmp/sample).
- cordova artifacts (/hooks, /platforms, /plugins, /www, /config.xml) cleared up
Known issues (none at the moment)