joomla-packager
v1.0.2
Published
A simple solution (first version) to create joomla packages.
Downloads
3
Readme
Introduction
This package is the first attempt to provide a full solution for creating joomla packages ready for installation. It does not analyses the package xml file in detail other than the extensions needed to be created (under the files attribute).
Getting Started
- Initialize a node js project.
npm init
- Install the solution from the NPM manager anywhere in your Joomla Package project.
- Create an
index.js
file and declare on topconst package = require('joomla-packager')
- Execute the packager within
index.js
withpackage()
- Execute
index.js
with:
node index.js --file=pkg_[package-name].xml --indir=[package-folder] --action=[clean | build | rebuild]
Change the names in square bracktes accordingly. IMPORTANT: the xml package file must exists in the package folder