From 30bfcffc2d6955ede343d4b21f1c9dd5a0d61b63 Mon Sep 17 00:00:00 2001 From: breadchris Date: Mon, 4 Apr 2022 22:40:39 -0700 Subject: [PATCH] go mod tidy for cli Former-commit-id: cee1a084e56eec4b74b11c4467f78e360982bf6c Former-commit-id: 86a4c07f503b0a0fff83ed7cbd837d856e66958d --- go.mod | 10 ---------- go.sum | 24 ------------------------ lunatrace/cli/.goreleaser.yml | 29 +++++------------------------ 3 files changed, 5 insertions(+), 58 deletions(-) diff --git a/go.mod b/go.mod index 1d8789c7a..dda757c43 100644 --- a/go.mod +++ b/go.mod @@ -2,16 +2,6 @@ module lunasec go 1.17 -require gopkg.in/square/go-jose.v2 v2.6.0 - -require ( - github.com/davecgh/go-spew v1.1.1 // indirect - github.com/google/go-cmp v0.5.5 // indirect - github.com/stretchr/testify v1.7.0 // indirect - golang.org/x/crypto v0.0.0-20211215165025-cf75a172585e // indirect - gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect -) - replace ( lunasec/lunadefend => ./go lunasec/lunatrace => ./lunatrace/cli diff --git a/go.sum b/go.sum index 40977b423..e69de29bb 100644 --- a/go.sum +++ b/go.sum @@ -1,24 +0,0 @@ -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= -github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU= -github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY= -github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -golang.org/x/crypto v0.0.0-20211215165025-cf75a172585e h1:1SzTfNOXwIS2oWiMF+6qu0OUDKb0dauo6MoDUQyu+yU= -golang.org/x/crypto v0.0.0-20211215165025-cf75a172585e/go.mod h1:P+XmwS30IXTQdn5tA2iutPOUgjI07+tq3H3K9MVA1s8= -golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= -golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= -golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/square/go-jose.v2 v2.6.0 h1:NGk74WTnPKBNUhNzQX7PYcTLUjoq7mzKk2OKbvwk2iI= -gopkg.in/square/go-jose.v2 v2.6.0/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b h1:h8qDotaEPuJATrMmW04NCwg7v22aHH28wwpauUhK9Oo= -gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/lunatrace/cli/.goreleaser.yml b/lunatrace/cli/.goreleaser.yml index 48256ad15..52a744c4d 100644 --- a/lunatrace/cli/.goreleaser.yml +++ b/lunatrace/cli/.goreleaser.yml @@ -3,9 +3,9 @@ before: # You may remove this if you don't use go modules. - go mod tidy builds: - - binary: log4shell - id: log4shell - dir: ./cmd/log4shell + - binary: lunatrace + id: lunatrace + dir: ./cmd/lunatrace env: - CGO_ENABLED=0 goos: @@ -14,36 +14,17 @@ builds: - darwin goarch: - amd64 - - arm64 - - ppc64le - - - binary: log4shell - id: log4shell-ppc64le - dir: ./cmd/log4shell - env: - - CGO_ENABLED=0 - goos: - - linux - goarch: - - ppc64le archives: - - id: 64bit-only + - id: lunatrace format: binary builds: - - log4shell + - lunatrace replacements: darwin: Darwin linux: Linux windows: Windows amd64: x86_64 - - id: ppc64l-only - format: binary - builds: - - log4shell-ppc64le - replacements: - linux: Linux - checksum: name_template: 'checksums.txt' snapshot: