-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathTaskfile.yml
42 lines (34 loc) · 892 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
version: "3"
tasks:
default:
desc: Display available tasks
cmds:
- task -l
start-localstack:
desc: Start LocalStack using Docker Compose
cmds:
- docker-compose -f compose.yml up
stop-localstack:
desc: Stop LocalStack using Docker Compose
cmds:
- docker-compose -f compose.yml down
stree-local:
cmds:
- go run main.go my-bucket --local
desc: Run the stree application with specified arguments
stree-help:
cmds:
- go run main.go --help
desc: Display help for the stree application
ls-local:
desc: List all objects in S3 bucket
cmds:
- aws s3 ls s3://my-bucket/ --recursive --profile local --region us-east-1 --endpoint-url=http://localhost:4566
lint:
desc: Run MegaLinter
cmds:
- mega-linter-runner --flavor go
fmt:
desc: Format Go code
cmds:
- go fmt ./...