File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -16,10 +16,10 @@ builds:
16
16
hooks :
17
17
post :
18
18
- mkdir -p ./dist/raw
19
- - cp "{{ .Path }}" "./dist/raw/{{ .ProjectName }}_ {{ .Os }}_{{ .Arch }}"
19
+ - cp "{{ .Path }}" "./dist/raw/tflint-ruleset-uw-kafka-config_ {{ .Os }}_{{ .Arch }}"
20
20
archives :
21
21
- id : zip
22
- name_template : " {{ .ProjectName }}_ {{ .Os }}_{{ .Arch }}"
22
+ name_template : " tflint-ruleset-uw-kafka-config_ {{ .Os }}_{{ .Arch }}"
23
23
format : zip
24
24
files :
25
25
- none*
Original file line number Diff line number Diff line change 4
4
go test ./...
5
5
6
6
build :
7
- go build
7
+ go build -o tflint-ruleset-uw-kafka-config
8
8
9
9
install : build
10
10
mkdir -p ~ /.tflint.d/plugins
11
- mv ./tflint-ruleset-kafka-config ~ /.tflint.d/plugins
11
+ mv ./tflint-ruleset-uw- kafka-config ~ /.tflint.d/plugins
12
12
13
13
lint :
14
14
pre-commit run --all-files
Original file line number Diff line number Diff line change @@ -10,8 +10,7 @@ import (
10
10
func main () {
11
11
plugin .Serve (& plugin.ServeOpts {
12
12
RuleSet : & tflint.BuiltinRuleSet {
13
- Name : "kafka-config" ,
14
- Version : "0.1.0" ,
13
+ Name : "uw-kafka-config" ,
15
14
Rules : []tflint.Rule {
16
15
rules .NewMskModuleBackendRule (),
17
16
},
You can’t perform that action at this time.
0 commit comments