FORGEBOX Enterprise 🚀 - Take your ColdFusion (CFML) Development to Modern Times! Learn More...

commandbox-packager

v1.4.0 Public

CommandBox Packager

This Module takes the packaging logic out of CommandBox and makes it available for alternative build / deployment options instead of ForgeBox. This module allows you to pass a path, and it will return the location of the zip file.

Use from Task Runner

component {

    function run(){
        print.line( "Loading Module" );
        loadModule( 'modules/commandbox-packager' );
        var packager = getInstance( "[email protected]" );
        print.line( "Zipping Module" );
        var theZip = packager.createZipFromPath( expandPath( './' ) );
        print.line( theZip );
    }
}

Dependencies (0)


Dev Dependencies (0)


 

$ box install commandbox-packager

No collaborators yet.
     
  • Feb 24 2020 12:52 PM
  • Feb 24 2020 12:53 PM
  • 251
  • 0
  • 26