phoggy

Results 6 comments of phoggy

According to their docs, it should work on Linux the same as on Mac. Installation may be slightly different, see [here](https://docs.brew.sh/Homebrew-on-Linux) for specifics.

I created a formula that works on my machine: ```rb class Phraze < Formula desc "Generate random passphrases" homepage "https://sts10.github.io/2023/10/24/phraze-passphrase-generator.html" url "https://github.com/sts10/phraze/archive/refs/tags/v0.3.18.tar.gz" # source sha256 "7092b428eb91595f71206947c3d41d53de7886920a35e678765b7b104f47eebd" license "MPL-2.0" version "0.3.18"...

(sorry for the delay, have been out sick). Since you are no longer going to build native releases, this formula can be much simpler (no bottles). To test this out,...

Yes, those instructions are correct. (I think you _can_ combine them: `brew install sts10/phraze/phraze`, but this is far less clear.) On a new version, you also need to update `url`...

Use the url itself, e.g.: ```bash $ version='0.3.23' $ url=https://github.com/sts10/phraze/archive/refs/tags/v${version}.tar.gz $ curl -L --no-progress-meter --fail ${url} | shasum -a 256 | cut -d' ' -f1 57e4f686a3fdd914642d2794aaa73cc43782268cb6159c617573ddce8aac4994 ```

It turns out that the `version` var is redundant in the formula as one will be set automatically from the url itself. The only potential gotcha is that it is...