1
0
mirror of https://github.com/go-task/task.git synced 2025-01-12 04:34:11 +02:00

add own Taskfile.yml file

This commit is contained in:
Andrey Nering 2017-07-05 21:05:33 -03:00
parent ad1a440576
commit fdd7e7f2a8
2 changed files with 2 additions and 2 deletions

View File

@ -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

1
Taskvars.yml Normal file
View File

@ -0,0 +1 @@
GIT_COMMIT: $git log -n 1 --format=%h