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
end
The 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 :)
Hi John,
Thanks for this awesome tool ! Would love to be able to install it throught the
brewcommand.Any chance that you would either create a tap Formula or adding it to homebrew-core ?
The
playground.rbwould look similar to the following considering you would create a release.The 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 :)