Skip to content

Commit 4d0ba96

Browse files
committed
Add Homebrew cask
1 parent 3acc7c5 commit 4d0ba96

4 files changed

Lines changed: 37 additions & 6 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ docs/
33
build/
44
build-tests/
55
build-universal/
6+
build-universal-check/
67
DerivedData/
78
*.profraw
89
*.xcuserstate

Casks/contexteditor.rb

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
cask "contexteditor" do
2+
version "0.1.2"
3+
sha256 "14a4d0c605b7e73ddb2737ea7f29c19e24efb452cdb027c6414397230cc6ff75"
4+
5+
url "https://github.com/driade/context-editor/releases/download/v#{version}/ContextEditor-macOS.zip"
6+
name "ContextEditor"
7+
desc "Route text files to different editors depending on the current project"
8+
homepage "https://github.com/driade/context-editor"
9+
10+
depends_on macos: ">= :ventura"
11+
12+
app "ContextEditor.app"
13+
end

HOMEBREW.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Homebrew Tap
2+
3+
This repository can be used as a Homebrew tap.
4+
5+
```bash
6+
brew tap driade/context-editor
7+
brew install --cask contexteditor
8+
```
9+
10+
Homebrew will install the signed and notarized app from the matching GitHub release.

README.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,18 @@ Supported values:
4545

4646
## Download
4747

48-
Prebuilt binaries are available from the [Releases](https://github.com/driade/context-editor/releases) page.
48+
Prebuilt signed binaries are available from the [Releases](https://github.com/driade/context-editor/releases) page.
4949

50-
The current public release is `v0.1.1`.
50+
The current public release is `v0.1.2`.
51+
52+
## Homebrew
53+
54+
```bash
55+
brew tap driade/context-editor
56+
brew install --cask contexteditor
57+
```
58+
59+
This tap installs the notarized app published in GitHub Releases.
5160

5261
## Build
5362

@@ -90,10 +99,8 @@ The test suite covers configuration lookup and editor resolution behavior.
9099

91100
- The app is registered as an editor for common text and source-code content types through its `Info.plist`.
92101
- Finder associations are still controlled per file type by macOS, so you may need to use `Get Info > Open with > Change All...` for the file families you care about.
102+
- GitHub release builds are signed, notarized, and published automatically from version tags.
93103

94104
## License
95105

96-
This project is intended to be available under a broad permissive license.
97-
Use, modify, distribute, and include it in commercial or private projects with attribution.
98-
99-
Recommended license: MIT.
106+
MIT

0 commit comments

Comments
 (0)