updated secrets baseline config
This commit was merged in pull request #1.
This commit is contained in:
20
lua/overseer/template/user/zig_run.lua
Normal file
20
lua/overseer/template/user/zig_run.lua
Normal file
@@ -0,0 +1,20 @@
|
||||
return {
|
||||
name = "zig: run",
|
||||
desc = "Build and run (zig build run)",
|
||||
condition = {
|
||||
callback = function()
|
||||
return vim.fn.filereadable(vim.fn.getcwd() .. "/build.zig") == 1
|
||||
end,
|
||||
},
|
||||
builder = function()
|
||||
return {
|
||||
cmd = { "zig" },
|
||||
args = { "build", "run" },
|
||||
components = {
|
||||
"default",
|
||||
"on_output_quickfix",
|
||||
{ "on_complete_notify", statuses = { "SUCCESS", "FAILURE" } },
|
||||
},
|
||||
}
|
||||
end,
|
||||
}
|
||||
Reference in New Issue
Block a user