[source]
# Flash is maintained in this repository. The workspace source snapshots only
# tracked and non-ignored files from the current checkout, so an image builds
# the Flash tree belonging to the same FlashOS revision without a self-SHA pin.
workspace = "components/flash"
[build]
template = "custom"
script = """
DYNAMIC_INIT
COOKBOOK_CARGO_PATH="crates/flash-cli" cookbook_cargo --bin fsh
COOKBOOK_CARGO_PATH="crates/flash-lsp" cookbook_cargo --bin flash-language-server
"""
# Editors and host/developer environments can install the protocol server
# explicitly; the TUI login-shell image selects only the base `flash` package.
[[optional-packages]]
name = "lsp"
files = ["usr/bin/flash-language-server"]
Return to documentation →