Build tasks

Build tasks are the fuel that propels Laraboot. A build task is a small piece of logic that is sequentially called at its own time and performs an operation against or based on the status of the workspace and the project configuration.

There are two types of build tasks, core, and community. The latter sits over the former.

Adding a build task to the project

Build tasks can be added via CLI using the task add command which has the following structure:

laraboot task add <name> [options]

Core build tasks

Core tasks can be added by specifying their name.

# For instance
laraboot task add @core/laravel-foundation-provider --format=file

Community build tasks

These tasks do not form part of the core and are maintained by the community.

Community tasks can be added by specifying their name and id. This information is often found on the build task homepage.

# For instance
laraboot task add hello-task --buildTaskID xxxxxxxx

Last updated