mirror of
https://github.com/go-task/task.git
synced 2025-06-17 00:17:51 +02:00
Implemented os specific task file support
This commit is contained in:
@ -4,8 +4,13 @@ import (
|
||||
"fmt"
|
||||
)
|
||||
|
||||
// ErrNoTaskFile is returned when the program can not find a proper TaskFile
|
||||
var ErrNoTaskFile = fmt.Errorf(`task: No task file found (is it named "%s"?)`, TaskFilePath)
|
||||
type taskFileNotFound struct {
|
||||
taskFile string
|
||||
}
|
||||
|
||||
func (err taskFileNotFound) Error() string {
|
||||
return fmt.Sprintf(`task: No task file found (is it named "%s"?)`, err.taskFile)
|
||||
}
|
||||
|
||||
type taskNotFoundError struct {
|
||||
taskName string
|
||||
|
Reference in New Issue
Block a user