Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

acton v0.18.0 #56

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 4 additions & 18 deletions Formula/acton.rb
Original file line number Diff line number Diff line change
@@ -1,28 +1,14 @@
class Acton < Formula
desc "Delightful distributed programming language"
homepage "https://www.acton-lang.org"
url "https://github.com/actonlang/acton/archive/refs/tags/v0.17.0.tar.gz"
sha256 "02e9968b1b36cae4d8dce938f39cecb60866b8d89812336852eab566848f3ee1"
url "https://github.com/actonlang/acton/archive/refs/tags/v0.18.0.tar.gz"
sha256 "0b2c336a1de9e16170dc90dc2e19ccefe9f3ae5ecaf2d09eabdae70481f1c28e"
license "BSD-3-Clause"
head "https://github.com/actonlang/acton.git", branch: "main"

bottle do
root_url "https://github.com/actonlang/homebrew-acton/releases/download/acton-0.17.0"
sha256 cellar: :any_skip_relocation, ventura: "ce13466d971d55155e0acbeef422d3a8191b0d59758d795d430a8a3c0c0e7e46"
sha256 cellar: :any_skip_relocation, monterey: "c4b93dcb2f1d6a39323e862b187e023fa74dd036f894509cdaea66bfb66d2af6"
sha256 cellar: :any_skip_relocation, x86_64_linux: "3f40aa9dadb77b1d63832418087da5bf35784494a878dc2dfbb1cf7a62f330df"
end

# TODO: can gettext be removed? it was likely necessary when we built deps
# using autoconf, but might not be needed now that we use build.zig?
depends_on "gettext" => :build
depends_on "[email protected]" => :build
depends_on "[email protected]" => :build
depends_on "haskell-stack" => :build

on_linux do
depends_on "gmp"
end

def install
# Fix up stack config to not install project local GHC
inreplace "compiler/stack.yaml", "# system-ghc: true", <<~EOS
Expand All @@ -46,7 +32,7 @@ def install
#!/usr/bin/env runacton
actor main(env):
print("Hello World!")
await async env.exit(0)
env.exit(0)
EOS
testapp.chmod 0755
assert_equal "Hello World!\n", shell_output(testapp)
Expand Down
Loading