taskrunner

package
v0.0.0-...-e7aa5da Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecuteTask

func ExecuteTask(ctx context.Context, task Task, workDir string, outputChan chan<- string) error

ExecuteTask runs a task in the specified directory

Types

type Task

type Task struct {
	Name        string
	Type        TaskType
	Command     string
	Description string
	Icon        string
}

func DetectTasks

func DetectTasks(projectPath string) []Task

DetectTasks scans a project directory and detects available tasks

type TaskType

type TaskType string
const (
	TaskBuild  TaskType = "build"
	TaskTest   TaskType = "test"
	TaskFormat TaskType = "format"
	TaskLint   TaskType = "lint"
	TaskRun    TaskType = "run"
	TaskClean  TaskType = "clean"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL