浏览代码

update readme for 'as'

pull/56/head
Tristan Sloughter 10 年前
父节点
当前提交
3998dfb049
共有 2 个文件被更改,包括 3 次插入2 次删除
  1. +1
    -0
      README.md
  2. +2
    -2
      src/rebar_prv_as.erl

+ 1
- 0
README.md 查看文件

@ -27,6 +27,7 @@ limit scope.
| Command | Description | | Command | Description |
|----------- |------------ | |----------- |------------ |
| as | Higher-order provider to run multiple tasks in sequence as certain profiles |
| compile | Build project | | compile | Build project |
| clean | Remove project apps beam files | | clean | Remove project apps beam files |
| ct | Run Common Test suites | | ct | Run Common Test suites |

+ 2
- 2
src/rebar_prv_as.erl 查看文件

@ -25,9 +25,9 @@ init(State) ->
{bare, false}, {bare, false},
{deps, ?DEPS}, {deps, ?DEPS},
{example, "rebar3 as <profile1>,<profile2>,... <task1>, <task2>, ..."}, {example, "rebar3 as <profile1>,<profile2>,... <task1>, <task2>, ..."},
{short_desc, "Higher order provider for running multiple tasks in a sequence as a certain profile."},
{short_desc, "Higher order provider for running multiple tasks in a sequence as a certain profiles."},
{desc, ""}, {desc, ""},
{opts, [{profile, undefined, undefined, string, "Profile to run as."}]}])),
{opts, [{profile, undefined, undefined, string, "Profiles to run as."}]}])),
{ok, State1}. {ok, State1}.
-spec do(rebar_state:t()) -> {ok, rebar_state:t()} | {error, string()}. -spec do(rebar_state:t()) -> {ok, rebar_state:t()} | {error, string()}.

正在加载...
取消
保存