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:
parent
ad1a440576
commit
fdd7e7f2a8
@ -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
1
Taskvars.yml
Normal file
@ -0,0 +1 @@
|
||||
GIT_COMMIT: $git log -n 1 --format=%h
|
Loading…
Reference in New Issue
Block a user