Build a local source tree into an executable. Source changes trigger a rebuild. The build must write {output}; {source} and {target} are also available in arguments.
{output}
{source}
{target}
customTool("hello", { source: "tools/hello", target: "~/.local/bin/hello", build: { command: "go", args: ["build", "-o", "{output}", "{source}"] } }) Copy
customTool("hello", { source: "tools/hello", target: "~/.local/bin/hello", build: { command: "go", args: ["build", "-o", "{output}", "{source}"] } })
Build a local source tree into an executable. Source changes trigger a rebuild. The build must write
{output};{source}and{target}are also available in arguments.