Skip to content

Commit

Permalink
adding arkscript 3.5 formula
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperFola committed Apr 17, 2024
1 parent 117f644 commit 622e5cb
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 1 deletion.
File renamed without changes.
2 changes: 1 addition & 1 deletion arkscript.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
class Arkscript < Formula
desc "Small, fast, functional and scripting language for C++ projects"
homepage "https://arkscript-lang.dev"
url "https://github.com/ArkScript-lang/Ark.git", tag: "v3.4.0"
url "https://github.com/ArkScript-lang/Ark.git", tag: "v3.5.0"
license "MPL-2.0"
head "https://github.com/ArkScript-lang/Ark.git", branch: "dev"

Expand Down
26 changes: 26 additions & 0 deletions [email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
class ArkscriptAT340 < Formula
desc "Small, fast, functional and scripting language for C++ projects"
homepage "https://arkscript-lang.dev"
url "https://github.com/ArkScript-lang/Ark.git", tag: "v3.5.0"
license "MPL-2.0"
head "https://github.com/ArkScript-lang/Ark.git", branch: "dev"

depends_on "cmake" => :build

def install
system "cmake", "-S", ".", "-B", "build", "-DARK_BUILD_EXE=On", *std_cmake_args
system "cmake", "--build", "build"
system "cmake", "--install", "build"
end

def post_install
ohai "ℹ️ Add ARKSCRIPT_PATH=" + lib + "/Ark/ to your bashrc/zshrc"
end

test do
with_env("DYLD_LIBRARY_PATH" => "$DYLD_LIBRARY_PATH:/opt/homebrew/lib") do
system "#{bin}/arkscript", "--version"
end
end
end

Check failure on line 26 in [email protected]

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-latest)

Layout/TrailingEmptyLines: 1 trailing blank lines detected.

0 comments on commit 622e5cb

Please sign in to comment.