Skip to content

Commit

Permalink
Merge pull request #379 from tisba/chore/drop-homebrew-tap
Browse files Browse the repository at this point in the history
Drop custom homebrew tap
  • Loading branch information
cantino authored Dec 3, 2023
2 parents e7f241e + 330e006 commit a15d796
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 61 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description = "McFly replaces your default ctrl-r shell history search with an i
license = "MIT"
repository = "https://github.com/cantino/mcfly"
categories = ["command-line-utilities"]
exclude = ["HomebrewFormula", "HomebrewFormula/*", "pkg/*", "docs/*"]
exclude = ["docs/*"]

[profile.release]
lto = true
Expand Down
1 change: 0 additions & 1 deletion HomebrewFormula

This file was deleted.

17 changes: 2 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,9 @@ When suggesting a command, McFly takes into consideration:

### Install with Homebrew (on OS X or Linux)

1. Install the tap:
```bash
brew tap cantino/mcfly
```
1. Install `mcfly`:
```bash
brew install cantino/mcfly/mcfly
brew install mcfly
```
1. Add the following to the end of your `~/.bashrc`, `~/.zshrc`, or `~/.config/fish/config.fish` file:

Expand All @@ -75,10 +71,6 @@ When suggesting a command, McFly takes into consideration:
```bash
brew uninstall mcfly
```
1. Remove the tap:
```bash
brew untap cantino/mcfly
```
1. Remove the lines you added to `~/.bashrc` / `~/.zshrc` / `~/.config/fish/config.fish`.

### Install with MacPorts (on OS X)
Expand Down Expand Up @@ -435,10 +427,5 @@ Contributions and bug fixes are encouraged! However, we may not merge PRs that i
1. `git push origin head --tags`
1. Let the build finish.
1. Edit the new Release on Github.
1. Edit `pkg/brew/mcfly.rb` and update the version and SHAs. (`shasum -a 256 ...`)
1. Edit `../homebrew-mcfly/pkg/brew/mcfly.rb` too.
1. `cp pkg/brew/mcfly.rb ../homebrew-mcfly/pkg/brew/mcfly.rb`
1. Compare with `diff ../homebrew-mcfly/pkg/brew/mcfly.rb ../mcfly/pkg/brew/mcfly.rb ; diff ../homebrew-mcfly/HomebrewFormula/mcfly.rb ../mcfly/HomebrewFormula/mcfly.rb`
1. `git add -p && git ci -m 'Update homebrew' && git push`
1. `cd ../homebrew-mcfly && git add -p && git ci -m 'Update homebrew' && git push && cd ../mcfly`
1. `cargo publish`
1. TBD: update homebrew-core Formula at https://github.com/Homebrew/homebrew-core/blob/master/Formula/m/mcfly.rb
44 changes: 0 additions & 44 deletions pkg/brew/mcfly.rb

This file was deleted.

0 comments on commit a15d796

Please sign in to comment.