Grunt extension to install software directly into Joomla!
npm install grunt-joomla-install-extension^1.0.0If 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:
``shell`
npm install grunt-joomla-install-extension --save-dev
Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
`js`
grunt.loadNpmTasks('grunt-joomla-install-extension');
to the data object passed into grunt.initConfig().`js
grunt.initConfig({
joomla_installextension: {
taskname: {
options: {
alias: '', // Joomla! installation alias
},
files: [{
src: 'package.zip'
}],
},
},
});
`$3
#### options.alias
Type:
String
Default: Enter the alias of the Joomla! installation that has been registered using the R2H Joomla! console. Leave the option
empty or use the value
default to use the default installation path.Example:
`js
joomla_installextension: {
taskname: {
options: {
alias: 'my-alias',
},
...
},
},
``