mirror of
https://github.com/go-task/task.git
synced 2026-07-08 22:46:07 +00:00
Move variables from Taskvars to Taskfile
This commit is contained in:
18
Taskfile.yml
18
Taskfile.yml
@@ -1,5 +1,23 @@
|
|||||||
version: '2'
|
version: '2'
|
||||||
|
|
||||||
|
vars:
|
||||||
|
GIT_COMMIT:
|
||||||
|
sh: git log -n 1 --format=%h
|
||||||
|
|
||||||
|
GO_PACKAGES:
|
||||||
|
.
|
||||||
|
./cmd/task
|
||||||
|
./internal/args
|
||||||
|
./internal/compiler
|
||||||
|
./internal/compiler/v1
|
||||||
|
./internal/compiler/v2
|
||||||
|
./internal/execext
|
||||||
|
./internal/logger
|
||||||
|
./internal/status
|
||||||
|
./internal/taskfile
|
||||||
|
./internal/taskfile/version
|
||||||
|
./internal/templater
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
# compiles current source code and make "task" executable available on
|
# compiles current source code and make "task" executable available on
|
||||||
# $GOPATH/bin/task{.exe}
|
# $GOPATH/bin/task{.exe}
|
||||||
|
|||||||
15
Taskvars.yml
15
Taskvars.yml
@@ -1,15 +0,0 @@
|
|||||||
GIT_COMMIT:
|
|
||||||
sh: git log -n 1 --format=%h
|
|
||||||
|
|
||||||
GO_PACKAGES:
|
|
||||||
.
|
|
||||||
./cmd/task
|
|
||||||
./internal/args
|
|
||||||
./internal/compiler
|
|
||||||
./internal/compiler/v1
|
|
||||||
./internal/compiler/v2
|
|
||||||
./internal/execext
|
|
||||||
./internal/logger
|
|
||||||
./internal/status
|
|
||||||
./internal/taskfile
|
|
||||||
./internal/templater
|
|
||||||
Reference in New Issue
Block a user