Custom Tasks
How to define and run BoxLang tasks in VS Code — task.json configuration, custom commands, and integration with the build system.
Task Definition
{
"version": "2.0.0",
"tasks": [
{
"label": "Run Tests",
"type": "boxlang",
"command": "testbox run",
"args": ["tests/"]
}
]
}Task Properties
Property
Required
Type
Description
Example Tasks
Run a BoxLang Script
Run TestBox Tests
Compile a Module
Run with Specific BoxLang Version
VS Code Variables in Tasks
Variable
Description
Running Tasks
From the Command Palette
As a Build Task
As a Test Task
Related Pages
Commands ReferenceVersion ManagementLast updated
Was this helpful?