Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
push edp committed Nov 22, 2023
1 parent f1d3eba commit cbaf4c5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
7 changes: 3 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,12 @@ install:
go install -ldflags "-s -w -X github.com/lemonade-command/lemonade/lemon.Version=$(VERSION)"

release:
gox --arch 'amd64 386 arm64' --os 'windows linux darwin' --output "dist/{{.Dir}}_{{.OS}}_{{.Arch}}/{{.Dir}}" -ldflags "-s -w -X github.com/lemonade-command/lemonade/lemon.Version=$(VERSION)"
zip pkg/lemonade_windows_386.zip dist/lemonade_windows_386/lemonade.exe -j
gox --arch 'amd64 arm64' --os 'windows linux darwin' --output "dist/{{.Dir}}_{{.OS}}_{{.Arch}}/{{.Dir}}" -ldflags "-s -w -X github.com/lemonade-command/lemonade/lemon.Version=$(VERSION)"
zip pkg/lemonade_windows_amd64.zip dist/lemonade_windows_amd64/lemonade.exe -j
tar zcvf pkg/lemonade_linux_386.tar.gz -C dist/lemonade_linux_386/ lemonade
tar zcvf pkg/lemonade_linux_amd64.tar.gz -C dist/lemonade_linux_amd64/ lemonade
tar zcvf pkg/lemonade_darwin_386.tar.gz -C dist/lemonade_darwin_386/ lemonade
tar zcvf pkg/lemonade_linux_arm64.tar.gz -C dist/lemonade_linux_arm64/ lemonade
tar zcvf pkg/lemonade_darwin_amd64.tar.gz -C dist/lemonade_darwin_amd64/ lemonade
tar zcvf pkg/lemonade_darwin_arm64.tar.gz -C dist/lemonade_darwin_arm64/ lemonade

clean:
rm -rf dist/
Expand Down
13 changes: 9 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
module github.com/lemonade-command/lemonade

go 1.16
go 1.21

require (
github.com/BurntSushi/toml v1.0.0 // indirect
github.com/go-stack/stack v1.8.1 // indirect
github.com/inconshreveable/log15 v0.0.0-20201112154412-8562bdadbbac
github.com/mattn/go-colorable v0.1.12 // indirect
github.com/mitchellh/go-homedir v1.1.0
github.com/monochromegane/conflag v0.0.0-20151130130520-6d68c9aa4183
github.com/pocke/go-iprange v0.0.0-20150823054938-08fbe355c365
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966
)

require (
github.com/BurntSushi/toml v1.0.0 // indirect
github.com/go-stack/stack v1.8.1 // indirect
github.com/mattn/go-colorable v0.1.12 // indirect
github.com/mattn/go-isatty v0.0.14 // indirect
golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
)

0 comments on commit cbaf4c5

Please sign in to comment.