aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-01-04 20:34:38 +0100
committerLoïc Hoguin <[email protected]>2015-01-04 20:34:38 +0100
commitd36a769e7c8639d8f3431fbc1848830c1aaf9650 (patch)
tree2658b675554c779c270f16d2a450784c1997cfed /README.md
parent7ed33d7427a0a33bc80bd588dd9f64e5f312a1b2 (diff)
parent4197e19f189ef2c6982987423fd3f55fb615736e (diff)
downloaderlang.mk-d36a769e7c8639d8f3431fbc1848830c1aaf9650.tar.gz
erlang.mk-d36a769e7c8639d8f3431fbc1848830c1aaf9650.tar.bz2
erlang.mk-d36a769e7c8639d8f3431fbc1848830c1aaf9650.zip
Merge branch 'subversion' of https://github.com/cjsv/erlang.mk
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/README.md b/README.md
index 583462c..a9ac8af 100644
--- a/README.md
+++ b/README.md
@@ -115,6 +115,17 @@ dep_cowboy = git https://github.com/ninenines/cowboy 1.0.0
They will always be compiled using the command `make`. If the dependency
does not feature a Makefile, then erlang.mk will be used for building.
+For subversion dependencies, the url specifies trunk, branch or
+tag. To specify a particular revision, use `@revision` at the end of
+the url. No separate specification of branch, tag, or revision is
+required or possible.
+
+``` erlang
+DEPS = ex1 ex2
+dep_ex1 = svn https://example.com/svn/trunk/project/ex1
+dep_ex2 = svn svn://example.com/svn/branches/erlang-proj/ex2@264
+```
+
You can also specify test-only dependencies. These dependencies will only
be downloaded when running `make tests`. The format is the same as above,
except the variable `TEST_DEPS` holds the list of test-only dependencies.