forked from pecigonzalo/docker-machine-vmwareworkstation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Taskfile.yml
42 lines (38 loc) · 793 Bytes
/
Taskfile.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# https://taskfile.org
version: '2'
vars:
VER: V1
env:
GOOS: windows
GOARCH: amd64
GO111MODULE: on
tasks:
go_mods:
desc: Download and verify external modules.
cmds:
- go mod download
- go mod verify
envs:
desc: View envs. variables.
cmds:
- echo GOOS = ${GOOS}
- echo GOARCH = ${GOARCH}
- echo GOPATH = ${GOPATH}
default:
desc: Execute test and build.
cmds:
- task: go_mods
- task: test
- task: build
test:
desc: Start tests.
cmds:
- go test
build:
desc: Start build.
cmds:
- go build -i -o ${GOPATH}/bin/docker-machine-driver-vmwareworkstation.exe ./cmd/
clean:
desc: Remove build and temporary files.
cmds:
- go clean -r -i -cache -testcache -modcache