diff options
author | Dave Smith <dizzyd@dizzyd.com> | 2012-10-21 11:22:51 -0700 |
---|---|---|
committer | Dave Smith <dizzyd@dizzyd.com> | 2012-10-21 11:22:51 -0700 |
commit | 53ae245725f6e01113876eee61c8ae7abb8d9bf5 (patch) | |
tree | cd0bcabf4b34124bd01b590a69d27b34e9dd1cb1 /rebar.config.sample | |
parent | 9d7cf0a1f1d7805bf19fe14b1f04c9b440c1c2a0 (diff) | |
parent | 0b833391ed32d757a4617246435ea9b257e3ad2b (diff) |
Merge pull request #217 from alavrik/raw_deps_new
Add support for non-Erlang/OTP (raw) dependencies
Diffstat (limited to 'rebar.config.sample')
-rw-r--r-- | rebar.config.sample | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/rebar.config.sample b/rebar.config.sample index 4ed815a..fac55af 100644 --- a/rebar.config.sample +++ b/rebar.config.sample @@ -138,7 +138,20 @@ {deps, [application_name, {application_name, "1.0.*"}, {application_name, "1.0.*", - {git, "git://github.com/basho/rebar.git", {branch, "master"}}}]}. + {git, "git://github.com/basho/rebar.git", {branch, "master"}}}, + +%% Dependencies can be marked as 'raw'. Rebar does not require such dependencies +%% to have a standard Erlang/OTP layout which assumes the presence of either +%% "src/dependency_name.app.src" or "ebin/dependency_name.app" files. +%% +%% 'raw' dependencies can still contain 'rebar.config' and even can have the +%% proper OTP directory layout, but they won't be compiled. +%% +%% Only a subset of rebar commands will be executed on the 'raw' subdirectories: +%% get-deps, update-deps, check-deps, list-deps and delete-deps. + {application_name, "", + {git, "git://github.com/basho/rebar.git", {branch, "master"}}, + [raw]}]}. %% == Subdirectories == |