summaryrefslogtreecommitdiff
path: root/rebar.config.sample
diff options
context:
space:
mode:
authorNathaniel Waisbrot <github.com@waisbrot.net>2013-09-17 11:22:05 -0400
committerNathaniel Waisbrot <github.com@waisbrot.net>2014-03-17 15:49:44 -0400
commit41f1a891d9f126e4b0c3846c40e881ac77328734 (patch)
tree07dadbf015566e82e3261072dcd9ca936e2c98a7 /rebar.config.sample
parent47c089aa806653d826b8bc5f4b8dc29724af1da7 (diff)
downloadrebar-41f1a891d9f126e4b0c3846c40e881ac77328734.tar.gz
Add 'p4' (Perforce) as a dependency type
This calls the 'p4' command-line tool to checkout and sync Perforce trees. It involves significantly more special code in Rebar than using 'git p4', but it eliminates the indirection of Rebar->Git->Python->Perforce
Diffstat (limited to 'rebar.config.sample')
-rw-r--r--rebar.config.sample5
1 files changed, 3 insertions, 2 deletions
diff --git a/rebar.config.sample b/rebar.config.sample
index 515ed00..47812c1 100644
--- a/rebar.config.sample
+++ b/rebar.config.sample
@@ -155,7 +155,7 @@
%% name as an atom, eg. mochiweb, a name and a version (from the .app file), or
%% an application name, a version and the SCM details on how to fetch it (SCM
%% type, location and revision).
-%% Rebar currently supports git, hg, bzr, svn, rsync, and fossil.
+%% Rebar currently supports git, hg, bzr, svn, rsync, fossil, and p4.
{deps, [app_name,
{rebar, "1.0.*"},
{rebar, ".*",
@@ -188,7 +188,8 @@
{app_name, ".*", {svn, "svn://svn.example.org/url"}},
{app_name, ".*", {bzr, "https://www.example.org/url", "Rev"}},
{app_name, ".*", {fossil, "https://www.example.org/url"}},
- {app_name, ".*", {fossil, "https://www.example.org/url", "Vsn"}}]}.
+ {app_name, ".*", {fossil, "https://www.example.org/url", "Vsn"}},
+ {app_name, ".*", {p4, "//depot/subdir/app_dir"}}]}.
%% == Subdirectories ==