Version 1.0.0, release build script
- version.go/version.txt, --version flag, version in the help title - build.sh builds static binaries for macOS and Linux into ./bin - make build/install inject version.txt, make dist runs build.sh - README: binary downloads; development docs: release process Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
156bb18c91
commit
e5750ef24b
9 files changed
+162
-9
No files matched your search
@@ -6,6 +6,7 @@
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
<a href="https://git.micw.org/mike/ghosttyconf/releases"><img alt="Release" src="https://img.shields.io/gitea/v/release/mike/ghosttyconf?gitea_url=https%3A%2F%2Fgit.micw.org&label=release&color=a6e3a1"></a>
|
||||
<img alt="Go 1.24+" src="https://img.shields.io/badge/go-1.24%2B-00ADD8?logo=go&logoColor=white">
|
||||
<img alt="Ghostty 1.3" src="https://img.shields.io/badge/ghostty-1.3-7aa2f7">
|
||||
<img alt="macOS and Linux" src="https://img.shields.io/badge/platform-macOS%20%7C%20Linux-a6adc8">
|
||||
@@ -47,7 +48,26 @@ stay intact, and after saving, Ghostty reloads the configuration right away.
|
||||
|
||||
## 🚀 Installation
|
||||
|
||||
You need [Go](https://go.dev/dl/) 1.24 or newer and Ghostty.
|
||||
### Download a binary
|
||||
|
||||
Every [release](https://git.micw.org/mike/ghosttyconf/releases) has
|
||||
ready-to-run binaries for macOS and Linux (arm64 and amd64). They need nothing
|
||||
but Ghostty.
|
||||
|
||||
```sh
|
||||
# macOS on Apple silicon; for other systems, replace darwin-arm64 with
|
||||
# darwin-amd64, linux-amd64 or linux-arm64
|
||||
curl -fLo ghosttyconf https://git.micw.org/mike/ghosttyconf/releases/download/1.0.0/ghosttyconf-darwin-arm64
|
||||
chmod +x ghosttyconf
|
||||
mv ghosttyconf ~/bin/ # or any other directory in your $PATH
|
||||
```
|
||||
|
||||
If you download the binary with a browser, macOS blocks it at first. Remove
|
||||
the quarantine flag with `xattr -d com.apple.quarantine ghosttyconf`.
|
||||
|
||||
### Build from source
|
||||
|
||||
You need [Go](https://go.dev/dl/) 1.24 or newer.
|
||||
|
||||
```sh
|
||||
git clone https://git.micw.org/mike/ghosttyconf.git
|
||||
@@ -179,6 +199,7 @@ ghosttyconf [flags] [config-file]
|
||||
--no-reload do not reload Ghostty after saving
|
||||
--offline do not run ghostty; use the built-in option list
|
||||
--print-path print the config file that would be edited and exit
|
||||
--version print the version and exit
|
||||
```
|
||||
|
||||
## 🔧 How it works
|
||||
|
||||
Reference in new issue
Block a user