mirror of
https://github.com/go-task/task.git
synced 2025-08-10 22:42:19 +02:00
Add warning about Taskfile version 2 until v2.0.0 release
This commit is contained in:
4
task.go
4
task.go
@@ -109,6 +109,10 @@ func (e *Executor) setup() error {
|
||||
Vars: e.taskvars,
|
||||
Logger: e.Logger,
|
||||
}
|
||||
|
||||
if !e.Silent {
|
||||
e.Logger.Errf(`task: warning: Taskfile "version: 2" is experimental and implementation can change before v2.0.0 release`)
|
||||
}
|
||||
default:
|
||||
return fmt.Errorf(`task: Unrecognized Taskfile version "%d"`, e.Taskfile.Version)
|
||||
}
|
||||
|
Reference in New Issue
Block a user