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