Browse Source

update readme

pull/3/head
Tristan Sloughter 10 years ago
parent
commit
ee459df97f
1 changed files with 9 additions and 7 deletions
  1. +9
    -7
      README.md

+ 9
- 7
README.md View File

@ -24,19 +24,21 @@ This is an experimental branch.
|----------- |------------ | |----------- |------------ |
| compile | Build project | | compile | Build project |
| clean | Remove project apps beam files | | clean | Remove project apps beam files |
| update | Update package index |
| upgrade | Fetch latest version of dep |
| do | Higher-order provider to run multiple tasks in sequence |
| help | Print help for rebar or task |
| new | Create new rebar project from templates |
| pkgs | List available packages | | pkgs | List available packages |
| release | Build release of project |
| tar | Package release into tarball |
| shell | Run shell with project apps in path | | shell | Run shell with project apps in path |
| new | Create new rebar project from templates |
| do | Higher-order provider to run multiple tasks in sequence |
| update | Update package index |
| upgrade | Fetch latest version of dep |
| version | Print current version of Erlang/OTP and rebar |
The following commands are still in the works. The following commands are still in the works.
| Command | Description | | Command | Description |
|----------- |------------ | |----------- |------------ |
| release | Build release of project |
| tar | Package release into tarball |
| eunit | | | eunit | |
| ct | | | ct | |
@ -80,7 +82,7 @@ Example:
-spec init(rebar_state:state()) -> {ok, rebar_state:state()}. -spec init(rebar_state:state()) -> {ok, rebar_state:state()}.
init(State) -> init(State) ->
State1 = rebar_state:add_provider(State, rebar_provider:create([{name, ?PROVIDER}, State1 = rebar_state:add_provider(State, rebar_provider:create([{name, ?PROVIDER},
{provider_impl, ?MODULE},
{module, ?MODULE},
{bare, false}, {bare, false},
{deps, ?DEPS}, {deps, ?DEPS},
{example, "rebar dummy"}, {example, "rebar dummy"},

Loading…
Cancel
Save