egg

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 74266811b0053ddee407eafa8c6b65bb05ed9440
parent c968a810e341c455d1d328f6881a05d372a4238c
Author: Gabriel G. de Brito <gabrielgbrito@icloud.com>
Date:   Fri, 21 Mar 2025 09:06:32 -0300

Added script for releasing for basically everything

Diffstat:
M.gitignore | 13+++++++++----
MREADME-pt.md | 9+++++----
MREADME.md | 5++---
Arelease.sh | 11+++++++++++
4 files changed, 27 insertions(+), 11 deletions(-)

diff --git a/.gitignore b/.gitignore @@ -1,4 +1,9 @@ -/egg -/egg-windows.exe -/egg-linux -/egg-darwin +egg +egg-linux +egg-linux-arm64 +egg-linux-riscv64 +egg-plan9 +egg-darwin +egg-darwin-arm64 +egg-windows.exe +egg-windows-arm64.exe diff --git a/README-pt.md b/README-pt.md @@ -30,11 +30,12 @@ me procure no campus e nos laboratórios! Baixe o binário estático para o seu sistema na página de [releases](https://github.com/gboncoffee/egg/releases), ou, caso tenha o -compilador de Go instalado, baixe e compile o projeto. +compilador de Go instalado, baixe e compile o projeto. Quando nenhuma +arquitetura for informada, assuma x86_64. -Nota: o binário para Windows não foi testado. Não tenho acesso a nenhuma máquina -Windows atualmente. O teste do binário para Darwin (MacOS) depende da minha -paciência. +Nota: Eu sempre testo o binário para Linux x86_64. Eventualmente consigo testar +os binários de Darwin x86_64 e ARM64. O resto não é testado, mas devem funcionar +direito. ## Uso diff --git a/README.md b/README.md @@ -34,9 +34,8 @@ Simply grab the static binary for your OS at the [releases](https://github.com/gboncoffee/egg/releases) page. Or, if you have the Go compiler, build the project from source. -Note: the Windows binary is untested, as I don't have access to any Windows -machine nowadays. The testing of the Darwin (MacOS) binary depends on my -patience. +Note: I always test the binary for Linux x86_64. I test Darwin (x86_64 and +ARM64) if I manage to. Other binaries are not tested but should work properly. ## Quickstart diff --git a/release.sh b/release.sh @@ -0,0 +1,11 @@ +go build -o egg-linux +GOARCH=arm64 go build -o egg-linux-arm64 +GOARCH=riscv64 go build -o egg-linux-riscv64 + +GOOS=plan9 go build -o egg-plan9 + +GOOS=darwin go build -o egg-darwin +GOOS=darwin GOARCH=arm64 go build -o egg-darwin-arm64 + +GOOS=windows go build -o egg-windows.exe +GOOS=windows GOARCH=arm64 go build -o egg-windows-arm64.exe