diff --git a/Formula/lune.rb b/Formula/lune.rb index 2af2f7d..d620120 100644 --- a/Formula/lune.rb +++ b/Formula/lune.rb @@ -1,14 +1,14 @@ class Lune < Formula + LUNE_VERSION = "0.7.5" + desc "Standalone Luau script runtime 🌙" homepage "https://lune-org.github.io/docs" - url "https://github.com/filiptibell/lune/archive/refs/tags/v0.7.5.tar.gz" - sha256 "e8191df5d6844026772cc7afab1083235a265c506474c4c4dee0a7724b04f775" + url "https://github.com/filiptibell/lune/releases/download/v#{LUNE_VERSION}/lune-#{LUNE_VERSION}-macos-x86_64.zip" + sha256 "3c9cb328d7c3049354c714021ba857ce83ded3da4ac4b4a2a046fb2116e0bd2e" license "MPL-2.0" - depends_on "rust" => :build - def install - system "cargo", "install", *std_cargo_args + bin.install "lune" end test do