From 19d4b8b7f7f803ba5af2da05b48dff7e58691c53 Mon Sep 17 00:00:00 2001 From: Andrey Nering Date: Sun, 18 Feb 2018 10:04:17 -0300 Subject: [PATCH] Add warning about Taskfile version 2 until v2.0.0 release --- task.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/task.go b/task.go index c725864b..7e3aca0c 100644 --- a/task.go +++ b/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) }