This repository has been archived by the owner on Jun 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Taskfile.yml
55 lines (53 loc) · 1.56 KB
/
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
43
44
45
46
47
48
49
50
51
52
53
54
55
version: "3"
tasks:
devtools:
cmds:
- echo "***Starting Devtools Session***"
- go clean -modcache
- $("/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" --remote-debugging-port=9222)
auth:
cmds:
- echo "***Authenticating with ACloudGuru***"
- go run ./test/authenticate.go -v -rod="show,trace" {{.CLI_ARGS}}
main:
cmds:
- echo "***Running CLI***"
- go clean -testcache
- go run ./main.go
debug-cli:
cmds:
- echo "***Running CLI***"
- go clean -testcache
- go run ./main.go -v -rod="show,trace"
provider:
cmds:
- echo "***Testing Provider***"
- go clean -modcache
- go test ./test/provider_test.go -v -rod="show,trace"
set-github:
cmds:
- echo "***Pushing Secrets to GitHub Repo***"
- go clean -modcache
- go test ./test/github_test.go -v -owner josephedward -repo gosandbox {{.CLI_ARGS}}
db:
cmds:
- echo "***Creating Database***"
- go clean -modcache
- go test ./test/db_test.go -v -rod="show,trace"
test:
cmds:
- echo "***Running All Tests***"
- go clean -modcache
- cd /test
- go test -v
# manager:
# cmds:
# - echo "***Connecting to Rod Container using launcher.Manager***"
# - go clean -modcache
# - docker run -p 7317:7317 ghcr.io/go-rod/rod
# # - go run ./manager.go
# remote:
# cmds:
# - echo "***Connecting to Rod Container using launcher.Manager***"
# - go clean -modcache
# - go run ./remote.go -v -rod="show,trace"