Ability to compile dedicated binary of box

Description

This is probably already mostly possible, but it would be cool for someone to compile their own custom version of CommandBox called myUtil.exe which automatically ran a specific command or recipie upon starting. This would allow CommandBox to be a generic platform for distributable binaries. it would probably require some sort of custom build that people could run that accounted for the following things:

  1. Name of the binary

  2. Help text or embedded descriptions or versions in the executable

  3. Modules that they want installed by default into CommandBox

  4. Custom Lucee build ?? (to reduce size, etc)

  5. Command, or recipe to execute upon starting

  6. Location of binary home extraction so it doesn't overwrite other CommandBox installs (or, perhaps, so it shares them!)

This ticket may or may not make sense given options like which is more along the lines of the npm/node approach. I got this idea from how Go lets you create a CLI tool that you can wrap up in a distributable binary. One main difference though is that the entire Go runtime is 8MB and there's no unpacking that needs to happen. CommandBox/Lucee is ~40MB and needs to unpack itself into a runtime directory so it may not be well suited for this.

Assignee

Unassigned

Reporter

Brad Wood

Labels

None

Affects versions

None

Fix versions

None

Priority

Major

Components

Configure