Added set target function

This commit is contained in:
2025-10-23 19:46:39 +02:00
parent f9b8d67b5c
commit 232d05d244
2 changed files with 42 additions and 13 deletions

View File

@ -2,10 +2,14 @@ local config = require "core.config"
config.plugins.jpdebug = {
targets = {
["test"] = {
["test - msys"] = {
type = "shell",
cmd = {"C:\\msys64\\msys2_shell.cmd", "-defterm", "-here", "-no-start", "-ucrt64", "-shell", "bash", "-c", "lua test.lua"}
}
},
["test"] = {
type = "shell",
cmd = {"lua", "test.lua"}
}
},
target = "test"
default_target = "test"
}