-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
Hi John,
Thanks for this awesome tool ! Would love to be able to install it throught the brew command.
Any chance that you would either create a tap Formula or adding it to homebrew-core ?
The playground.rb would look similar to the following considering you would create a release.
class Playground < Formula
desc "Instantly create Swift playgrounds from the command line"
homepage "https://github.com/JohnSundell/Playground"
url "https://github.com/JohnSundell/Playground/archive/refs/tags/1.0.0.tar.gz"
sha256 "<SHOULD ADD THE RIGHT SHA256 HERE>"
license "MIT"
def install
system "swift", "build",
"--configuration", "release",
"--disable-sandbox"
bin.install '.build/release/Playground'
end
test do
system "#{bin}/playground"
end
endThe formula could also be updated using a Github Actions or so for each release 🤷🏼♂️
In case that you want to do a Tap Formula, you might be the only one being able to create it. And if you want to add it to homebrew-core, you can just create the release then I can create the pull request with to file above :)
theangelperalta
Metadata
Metadata
Assignees
Labels
No labels