INNER CODE UNIT · Go
printRunnableTargets
gameknife/gkNextEngine · tools/gnb/cmd/gnb/main.go:562
func printRunnableTargets(ctx appContext) {
console.Header("Runnable applications")
for _, target := range ctx.cfg.Targets.All {
if target == "gkNextUnitTests" {
continue
}
fmt.Printf(" %s\n", target)
}
fmt.Println()
console.Info("Run one with: gnb run <target>")
}
func newTestCommand(ctx appContext) *cobra.Command {
listTests := false
listTags := false
cmd := &cobra.Command{
Use: "test [filter]",
Short: "Run Catch2 unit tests",