From 690c92be3863b9e2a4ea5c6ecec601f08337aea3 Mon Sep 17 00:00:00 2001 From: afeiship <1290657123@qq.com> Date: Sun, 20 Nov 2022 13:31:55 +0800 Subject: [PATCH] fix: update lcc name --- .goreleaser.yaml | 4 ++-- go.mod | 7 +++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index fc6fc36..4ea6a77 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -7,8 +7,8 @@ before: # you may remove this if you don't need go generate - go generate ./... builds: - - env: - - CGO_ENABLED=0 + - id: lcc + binary: lcc goos: - darwin archives: diff --git a/go.mod b/go.mod index 9413a33..97e3862 100644 --- a/go.mod +++ b/go.mod @@ -3,9 +3,12 @@ module lcc go 1.19 require ( - github.com/go-resty/resty/v2 v2.7.0 // indirect + github.com/go-resty/resty/v2 v2.7.0 + github.com/spf13/cobra v1.6.1 +) + +require ( github.com/inconshreveable/mousetrap v1.0.1 // indirect - github.com/spf13/cobra v1.6.1 // indirect github.com/spf13/pflag v1.0.5 // indirect golang.org/x/net v0.0.0-20211029224645-99673261e6eb // indirect )