c 0.14 (new formula)
Copied from <https://github.com/ryanmjacobs/c/blob/master/c.rb> Closes #109656. Signed-off-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com> Signed-off-by: Rui Chen <rui@chenrui.dev> Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>master
parent
687571b159
commit
79e80b4bee
|
@ -0,0 +1,17 @@
|
|||
class C < Formula
|
||||
desc 'Compile and execute C "scripts" in one go'
|
||||
homepage "https://github.com/ryanmjacobs/c"
|
||||
url "https://github.com/ryanmjacobs/c/archive/v0.14.tar.gz"
|
||||
sha256 "2b66d79d0d5c60b8e6760dac734b8ec9a7d6a5e57f033b97086821b1985a870b"
|
||||
license "MIT"
|
||||
head "https://github.com/ryanmjacobs/c.git", branch: "master"
|
||||
|
||||
def install
|
||||
bin.install "c"
|
||||
end
|
||||
|
||||
test do
|
||||
(testpath/"test.c").write("int main(void){return 0;}")
|
||||
system bin/"c", testpath/"test.c"
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue