Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 50 lines (28 sloc) 1.409 kB
2f3d20a @yrashk Added README.md
yrashk authored
1 Agner
2 =====
3
4 Agner is a rebar-friendly Erlang package index inspired by Clojars and Homebrew.
5
93546e5 @yrashk A little bit more information in the README.md
yrashk authored
6 Package names
7 -------------
8
9 Package name is just either a package name such as <code>mochiweb</code>, or (in case of github indeces, it might also
10 take a form of <code>account/package</code>, for example <code>yrashk/misultin</code>)
11
12 Versions
13 --------
14
15 Agner has two kinds of versions:
16
17 * Release versions, normally something like <code>1.2.0</code>, represented using tags in .agner repos
18 * Flavour versions, normally something like <code>@release</code>, represented using branches in .agner repos
19
20 Commands
21 --------
22
23 agner list [-d/--descriptions]
24
25
26 agner spec [package name] [-v/--version package_version]
27
28
29 agner fetch [package name] [destination directory] [-v/--version package_version]
30
31 agner versions [package name]
32
33
2f3d20a @yrashk Added README.md
yrashk authored
34 Rebar
35 -----
36
37 Agner-compatible rebar is available at (agner branch)[https://github.com/agner/rebar/tree/agner] of (agner/rebar)[https://github.com/agner/rebar]. Or you can download ready-made rebar from https://github.com/agner/agner/raw/master/rebar.
38
39 Using it with rebar is fairly simple, it uses rebar's deps feature:
40
a26465d @yrashk Markup update in README.md
yrashk authored
41 {deps, [
42 {typespecs, "0.1", {agner, "typespecs"}},
43 {getopt, "0.3.0", {agner, "getopt"}}
44 ]}.
2f3d20a @yrashk Added README.md
yrashk authored
45
46 You can also specify your own indeces:
47
a26465d @yrashk Markup update in README.md
yrashk authored
48 {agner_indices, [{github, "yourgithubusername"},{github,"agner"}].
2f3d20a @yrashk Added README.md
yrashk authored
49
Something went wrong with that request. Please try again.