From 12335518ab39608d58370c85ff9f5384ad2aa5f7 Mon Sep 17 00:00:00 2001 From: MCApollo <34170230+MCApollo@users.noreply.github.com> Date: Sat, 20 Apr 2019 20:49:46 -0500 Subject: Ported in the homebrew-marauder for a hacky update/import system. TODO: Maybe add a license & fix up messy code. --- homebrew/neal/.beer | 47 +++++++++++++++++++++++++++++++++++++ homebrew/neal/.make.sh-auto | 12 ++++++++++ homebrew/neal/_metadata/description | 1 + homebrew/neal/_metadata/homepage | 1 + homebrew/neal/_metadata/name | 1 + homebrew/neal/_metadata/version | 1 + homebrew/neal/download.sh | 1 + 7 files changed, 64 insertions(+) create mode 100644 homebrew/neal/.beer create mode 100644 homebrew/neal/.make.sh-auto create mode 100644 homebrew/neal/_metadata/description create mode 100644 homebrew/neal/_metadata/homepage create mode 100644 homebrew/neal/_metadata/name create mode 100644 homebrew/neal/_metadata/version create mode 100755 homebrew/neal/download.sh (limited to 'homebrew/neal') diff --git a/homebrew/neal/.beer b/homebrew/neal/.beer new file mode 100644 index 000000000..0a06d6830 --- /dev/null +++ b/homebrew/neal/.beer @@ -0,0 +1,47 @@ +{ + "name": "Neal", + "description": "Analyzes source code based on user-specified rules written in a custom DSL", + "url": "https://github.com/uber/NEAL/archive/v0.2.4.tar.gz", + "mirror": null, + "homepage": "https://uber.github.io/NEAL/", + "depends": [ + { + "depend": "camlp4", + "build-depend": true + }, + { + "depend": "ocaml", + "build-depend": true + }, + { + "depend": "ocaml-num", + "build-depend": true + }, + { + "depend": "ocamlbuild", + "build-depend": true + }, + { + "depend": "opam", + "build-depend": true + } + ], + "resource": [], + "conflicts": [], + "patches": [], + "install": [ + "opamroot = buildpath/\"opamroot\"", + "opamroot.mkpath", + "ENV[\"OPAMROOT\"] = opamroot", + "ENV[\"OPAMYES\"] = \"1\"", + "ENV[\"NATIVE\"] = \"1\"", + "ENV[\"LIB_PATH\"] = lib", + "ENV[\"BIN_PATH\"] = bin", + "system \"opam\", \"init\", \"--no-setup\"", + "system \"opam\", \"install\", \"ocamlfind\"", + "system \"opam\", \"install\", \"--fake\", \"num\"", + "system \"opam\", \"config\", \"exec\", \"--\", \"make\", \"brew\"" + ], + "version": "0.2.4", + "file": "neal.rb" +} \ No newline at end of file diff --git a/homebrew/neal/.make.sh-auto b/homebrew/neal/.make.sh-auto new file mode 100644 index 000000000..6ac99ed7f --- /dev/null +++ b/homebrew/neal/.make.sh-auto @@ -0,0 +1,12 @@ +pkg:setup +opamroot = buildpath/"opamroot" +opamroot.mkpath +ENV["OPAMROOT"] = opamroot +ENV["OPAMYES"] = "1" +ENV["NATIVE"] = "1" +ENV["LIB_PATH"] = lib +ENV["BIN_PATH"] = bin +opam init --no-setup +opam install ocamlfind +opam install --fake num +opam config exec -- make brew diff --git a/homebrew/neal/_metadata/description b/homebrew/neal/_metadata/description new file mode 100644 index 000000000..6ad020ddf --- /dev/null +++ b/homebrew/neal/_metadata/description @@ -0,0 +1 @@ +Analyzes source code based on user-specified rules written in a custom DSL diff --git a/homebrew/neal/_metadata/homepage b/homebrew/neal/_metadata/homepage new file mode 100644 index 000000000..553dbb80c --- /dev/null +++ b/homebrew/neal/_metadata/homepage @@ -0,0 +1 @@ +https://uber.github.io/NEAL/ diff --git a/homebrew/neal/_metadata/name b/homebrew/neal/_metadata/name new file mode 100644 index 000000000..02b88d223 --- /dev/null +++ b/homebrew/neal/_metadata/name @@ -0,0 +1 @@ +Neal diff --git a/homebrew/neal/_metadata/version b/homebrew/neal/_metadata/version new file mode 100644 index 000000000..abd410582 --- /dev/null +++ b/homebrew/neal/_metadata/version @@ -0,0 +1 @@ +0.2.4 diff --git a/homebrew/neal/download.sh b/homebrew/neal/download.sh new file mode 100755 index 000000000..500f5a0f4 --- /dev/null +++ b/homebrew/neal/download.sh @@ -0,0 +1 @@ +wget https://github.com/uber/NEAL/archive/v0.2.4.tar.gz \ No newline at end of file -- cgit v1.2.3