summaryrefslogtreecommitdiff
path: root/homebrew/neal
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/neal')
-rw-r--r--homebrew/neal/.beer47
-rw-r--r--homebrew/neal/.make.sh-auto12
-rw-r--r--homebrew/neal/_metadata/description1
-rw-r--r--homebrew/neal/_metadata/homepage1
-rw-r--r--homebrew/neal/_metadata/name1
-rw-r--r--homebrew/neal/_metadata/version1
-rwxr-xr-xhomebrew/neal/download.sh1
7 files changed, 64 insertions, 0 deletions
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