~nvkv/amitm

ref: bffe321917e01d7fb2f6516c6a4bafb506c339d5 amitm/examples/amitm.toml -rw-r--r-- 303 bytes
bffe3219Semyon Novikov Make amitm minimally useful 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[[rules]]
name = "Golang"
globs = ["*.go"]
action = "put"

[[rules.pipeline]]
exec = ["go", "fmt", "$file"]

[[rules.pipeline]]
exec = ["echo", "'Done formatting $file'"]

[[rules]]
name = "Terraform"
globs = ["*.tf", "*.tfvars"]
action = "put"

[[rules.pipeline]]
exec = ["terraform13", "fmt", "$file"]