imported formula and gitignore from old repo
This commit is contained in:
1 parent
4ce1e8c8ee
commit
d55590e2d3
2 files changed
+32
No files matched your search
@@ -0,0 +1,4 @@
|
||||
__arcache__
|
||||
iteration.ar
|
||||
Chloride
|
||||
.DS_Store
|
||||
@@ -0,0 +1,28 @@
|
||||
class Argon < Formula
|
||||
desc "Interpreter written in C for the Argon Programming Language"
|
||||
homepage "https://git.wbell.dev/Open-Argon/Chloride"
|
||||
version "0.0.1"
|
||||
license "GPL-3.0-only"
|
||||
head "https://git.wbell.dev/TussockyJoker/Chloride.git", branch: "main"
|
||||
# license "GNU General Public License v3.0"
|
||||
|
||||
depends_on "cmake" => :build
|
||||
depends_on "flex" => :build
|
||||
depends_on "bdw-gc"
|
||||
depends_on "gmp"
|
||||
depends_on "mpfr"
|
||||
depends_on "pkg-config"
|
||||
|
||||
def install
|
||||
system "cmake", "-S", ".", "-B", "build",
|
||||
"-DCMAKE_PREFIX_PATH=#{Formula["gmp"].opt_prefix};#{Formula["bdw-gc"].opt_prefix};#{Formula["mpfr"].opt_prefix}",
|
||||
*std_cmake_args
|
||||
system "cmake", "--build", "build"
|
||||
system "cmake", "--install", "build", "--prefix", prefix
|
||||
end
|
||||
|
||||
test do
|
||||
# assert_match "hello world", shell_output("echo \"term.log('hello world')\" | #{bin}/openargon")
|
||||
system "#{bin}/openargon", "--version"
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user