From fdd7e7f2a8f405a153c67a9f61e8804cbb719e53 Mon Sep 17 00:00:00 2001 From: Andrey Nering Date: Wed, 5 Jul 2017 21:05:33 -0300 Subject: [PATCH] add own Taskfile.yml file --- Taskfile.yml | 3 +-- Taskvars.yml | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 Taskvars.yml diff --git a/Taskfile.yml b/Taskfile.yml index 48f7ede9..5d7fc692 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -4,8 +4,6 @@ install: desc: Installs Task cmds: - go install -v -ldflags="-w -s -X main.version={{.GIT_COMMIT}}" ./cmd/task - vars: - GIT_COMMIT: $git log -n 1 --format=%h dl-deps: desc: Downloads cli dependencies @@ -15,6 +13,7 @@ dl-deps: - go get -u github.com/golang/dep/cmd/dep update-deps: + desc: Updates dependencies cmds: - dep ensure -update - dep prune diff --git a/Taskvars.yml b/Taskvars.yml new file mode 100644 index 00000000..7222f00b --- /dev/null +++ b/Taskvars.yml @@ -0,0 +1 @@ +GIT_COMMIT: $git log -n 1 --format=%h