mirror of
https://github.com/go-task/task.git
synced 2025-01-14 04:35:50 +02:00
Add warning about Taskfile version 2 until v2.0.0 release
This commit is contained in:
parent
3556942516
commit
19d4b8b7f7
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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user