File tree Expand file tree Collapse file tree 2 files changed +37
-1
lines changed Expand file tree Collapse file tree 2 files changed +37
-1
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,26 @@ builds:
4242 main : ./cmd/jsonnetfmt
4343 binary : jsonnetfmt
4444
45+ - env :
46+ - CGO_ENABLED=0
47+ goos :
48+ - linux
49+ - windows
50+ - darwin
51+ goarch :
52+ - 386
53+ - amd64
54+ - arm
55+ - arm64
56+ ignore :
57+ - goos : darwin
58+ goarch : 386
59+
60+ id : jsonnet-lint
61+ main : ./cmd/jsonnet-lint
62+ binary : jsonnet-lint
63+
64+
4565archives :
4666 - replacements :
4767 darwin : Darwin
@@ -86,3 +106,19 @@ nfpms:
86106 conflicts :
87107 # See: https://packages.ubuntu.com/jsonnet
88108 - jsonnetfmt
109+ - id : jsonnet-lint
110+ package_name : jsonnet-lint-go
111+ builds :
112+ - jsonnet-lint
113+ homepage : https://github.com/google/go-jsonnet
114+ license : Apache 2.0
115+ formats :
116+ - deb
117+ bindir : /usr/bin
118+ maintainer :
David Cunningham <[email protected] > 119+ file_name_template : " jsonnet-lint-go_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
120+ overrides :
121+ deb :
122+ conflicts :
123+ # See: https://packages.ubuntu.com/jsonnet
124+ - jsonnet-lint
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ func usage(o io.Writer) {
4242 fmt .Fprintln (o , " Multichar options are expanded e.g. -abc becomes -a -b -c." )
4343 fmt .Fprintln (o , " The -- option suppresses option processing for subsequent arguments." )
4444 fmt .Fprintln (o , " Note that since filenames and jsonnet programs can begin with -, it is" )
45- fmt .Fprintln (o , " advised to use -- if the argument is unknown, e.g. jsonnetfmt -- \" $FILENAME\" ." )
45+ fmt .Fprintln (o , " advised to use -- if the argument is unknown, e.g. jsonnet-lint -- \" $FILENAME\" ." )
4646 fmt .Fprintln (o )
4747 fmt .Fprintln (o , "Exit code:" )
4848 fmt .Fprintln (o , " 0 – If the file was checked no problems were found." )
You can’t perform that action at this time.
0 commit comments