From 4dd298b1a23dfa1767ef20a1825a8de14db6d56e Mon Sep 17 00:00:00 2001 From: Noboru Saito Date: Tue, 14 Nov 2023 18:53:39 +0900 Subject: [PATCH] Add Homebrew install --- .goreleaser.yaml | 2 +- README.md | 26 ++++++++++++++++++-------- go.mod | 2 +- go.sum | 4 ++-- 4 files changed, 22 insertions(+), 12 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index f326f83..08d11e1 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -25,7 +25,7 @@ archives: - format: tar.gz # this name template makes the OS and Arch compatible with the results of uname. name_template: >- - {{ .ProjectName }}_ + {{ .ProjectName }}_{{ .Version }}_ {{- title .Os }}_ {{- if eq .Arch "amd64" }}x86_64 {{- else if eq .Arch "386" }}i386 diff --git a/README.md b/README.md index 1c0bcb8..e967469 100644 --- a/README.md +++ b/README.md @@ -7,23 +7,33 @@ Output to various formats. ## Install +### Go install + ```console go install github.com/noborus/xlsxsql/cmd/xlsxsql@latest ``` +### Homebrew + +You can install Homebrew's xlsxsql with the following command: + +```console +brew install noborus/tap/xlsxsql +``` + ### Binary Downloads Precompiled binaries for xlsxsql are available for various platforms and architectures. You can download them from the [GitHub Releases](https://github.com/noborus/xlsxsql/releases) page. -Here are the available binaries: +The following binaries can be downloaded from release. -- `xlsxsql_Darwin_arm64.tar.gz` -- `xlsxsql_Darwin_x86_64.tar.gz` -- `xlsxsql_Linux_arm64.tar.gz` -- `xlsxsql_Linux_i386.tar.gz` -- `xlsxsql_Linux_x86_64.tar.gz` -- `xlsxsql_Windows_arm64.zip` -- `xlsxsql_Windows_x86_64.zip` +- Darwin_arm64 +- Darwin_x86_64 +- Linux_arm64 +- Linux_i386 +- Linux_x86_64 +- Windows_arm64 +- Windows_x86_64 To install a binary, download the appropriate file for your system, extract it, and place the `xlsxsql` executable in a directory included in your system's `PATH`. diff --git a/go.mod b/go.mod index 95639c2..c724649 100644 --- a/go.mod +++ b/go.mod @@ -58,7 +58,7 @@ require ( lukechampine.com/uint128 v1.3.0 // indirect modernc.org/cc/v3 v3.41.0 // indirect modernc.org/ccgo/v3 v3.16.15 // indirect - modernc.org/libc v1.32.0 // indirect + modernc.org/libc v1.34.3 // indirect modernc.org/mathutil v1.6.0 // indirect modernc.org/memory v1.7.2 // indirect modernc.org/opt v0.1.3 // indirect diff --git a/go.sum b/go.sum index dcda5a8..9f03358 100644 --- a/go.sum +++ b/go.sum @@ -204,8 +204,8 @@ modernc.org/ccorpus v1.11.6 h1:J16RXiiqiCgua6+ZvQot4yUuUy8zxgqbqEEUuGPlISk= modernc.org/ccorpus v1.11.6/go.mod h1:2gEUTrWqdpH2pXsmTM1ZkjeSrUWDpjMu2T6m29L/ErQ= modernc.org/httpfs v1.0.6 h1:AAgIpFZRXuYnkjftxTAZwMIiwEqAfk8aVB2/oA6nAeM= modernc.org/httpfs v1.0.6/go.mod h1:7dosgurJGp0sPaRanU53W4xZYKh14wfzX420oZADeHM= -modernc.org/libc v1.32.0 h1:yXatHTrACp3WaKNRCoZwUK7qj5V8ep1XyY0ka4oYcNc= -modernc.org/libc v1.32.0/go.mod h1:YAXkAZ8ktnkCKaN9sw/UDeUVkGYJ/YquGO4FTi5nmHE= +modernc.org/libc v1.34.3 h1:ag+3JIGF0o009YKhKjkqAG3N36X6ctUv2V85hGM45WA= +modernc.org/libc v1.34.3/go.mod h1:YAXkAZ8ktnkCKaN9sw/UDeUVkGYJ/YquGO4FTi5nmHE= modernc.org/mathutil v1.6.0 h1:fRe9+AmYlaej+64JsEEhoWuAYBkOtQiMEU7n/XgfYi4= modernc.org/mathutil v1.6.0/go.mod h1:Ui5Q9q1TR2gFm0AQRqQUaBWFLAhQpCwNcuhBOSedWPo= modernc.org/memory v1.7.2 h1:Klh90S215mmH8c9gO98QxQFsY+W451E8AnzjoE2ee1E=