From 6734281cbabfb274be2a6f86c544a4d7fec7e4f6 Mon Sep 17 00:00:00 2001 From: Michael Kohl Date: Tue, 13 Nov 2018 23:06:32 +0700 Subject: [PATCH] Add GoReleaser config --- .gitignore | 2 ++ .goreleaser.yml | 36 ++++++++++++++++++++++++++++++++++++ README.md | 11 +++++++++++ 3 files changed, 49 insertions(+) create mode 100644 .goreleaser.yml diff --git a/.gitignore b/.gitignore index f1c181e..5526842 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,5 @@ # Output of the go coverage tool, specifically when used with LiteIDE *.out + +dist/ diff --git a/.goreleaser.yml b/.goreleaser.yml new file mode 100644 index 0000000..524b44b --- /dev/null +++ b/.goreleaser.yml @@ -0,0 +1,36 @@ +builds: + - env: + - CGO_ENABLED=0 + goos: + - darwin + - linux + - windows + goarch: + - i386 + - amd64 + - arm + - arm64 + goarm: + - 6 + - 7 + ignore: + - goos: darwin + goarch: 386 + - goos: darwin + goarch: arm + - goos: darwin + goarch: arm64 + - goos: windows + goarch: 386 + - goos: windows + goarch: arm + - goos: windows + goarch: arm64 +changelog: + sort: asc +brew: + github: + owner: citizen428 + name: homebrew-tap + homepage: 'https://github.com/citizen428/repl' + description: 'Add more read-eval-print-love in your life' diff --git a/README.md b/README.md index 4506677..e96c8fe 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,17 @@ line editing capabilities (including history and completions) provided by [liner ## Installation +### Homebrew + +```sh +$ brew tap citizen428/homebrew-tap +$ brew install repl +``` + +### Release + +Head over to the [release page](https://github.com/citizen428/repl/releases) and download the archive for your operating system/architecture. + ### Manual ```sh