Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Add support for external ocaml deps via opam #16280

Closed
wants to merge 1 commit into from

2 participants

Alex Reece Adam Vandenberg
Alex Reece

No description provided.

Adam Vandenberg
Owner

Seems reasonable.

Adam Vandenberg adamv closed this pull request from a commit
Alex Reece awreece Add support for external ocaml deps via opam
Closes #16280.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
52015c9
Adam Vandenberg adamv closed this in 52015c9
Yeison Rodriguez yeison referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
Yousef Ourabi yourabi referenced this pull request from a commit
Alex Reece awreece Add support for external ocaml deps via opam
Closes #16280.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
b3e0ed7
Klaus Meyer klausmeyer referenced this pull request from a commit
Alex Reece awreece Add support for external ocaml deps via opam
Closes #16280.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
ede76d0
Charlie Sharpsteen Sharpie referenced this pull request from a commit in Sharpie/homebrew
Alex Reece awreece Add support for external ocaml deps via opam
Closes #16280.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
d067874
David Holm dholm referenced this pull request from a commit in dholm/homebrew
Alex Reece awreece Add support for external ocaml deps via opam
Closes #16280.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
f733462
guyzmo guyzmo referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
Eric Gallager cooljeanius referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
Rajeev Jain rajeeja referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 28, 2012
  1. Alex Reece
This page is out of date. Refresh to see the latest.
2  Library/Homebrew/dependencies.rb
View
@@ -14,7 +14,7 @@
class DependencyCollector
# Define the languages that we can handle as external dependencies.
LANGUAGE_MODULES = [
- :chicken, :jruby, :lua, :node, :perl, :python, :rbx, :ruby
+ :chicken, :jruby, :lua, :node, :ocaml, :perl, :python, :rbx, :ruby
].freeze
attr_reader :deps, :requirements
2  Library/Homebrew/requirements.rb
View
@@ -25,6 +25,7 @@ def the_test
when :jruby then %W{/usr/bin/env jruby -rubygems -e require\ '#{@import_name}'}
when :lua then %W{/usr/bin/env luarocks show #{@import_name}}
when :node then %W{/usr/bin/env node -e require('#{@import_name}');}
+ when :ocaml then %W{/usr/bin/env opam list #{@import_name} | grep #{@import_name}}
when :perl then %W{/usr/bin/env perl -e use\ #{@import_name}}
when :python then %W{/usr/bin/env python -c import\ #{@import_name}}
when :ruby then %W{/usr/bin/env ruby -rubygems -e require\ '#{@import_name}'}
@@ -38,6 +39,7 @@ def command_line
when :jruby then "jruby -S gem install"
when :lua then "luarocks install"
when :node then "npm install"
+ when :ocaml then "opam install"
when :perl then "cpan -i"
when :python then "pip install"
when :rbx then "rbx gem install"
Something went wrong with that request. Please try again.