瀏覽代碼

Merge pull request #214 from tuncer/compile_only

Document compile_only=true
pull/3/head
Jared Morrow 11 年之前
父節點
當前提交
c5e48b4a8b
共有 2 個檔案被更改,包括 5 行新增2 行删除
  1. +2
    -1
      src/rebar_eunit.erl
  2. +3
    -1
      src/rebar_qc.erl

+ 2
- 1
src/rebar_eunit.erl 查看文件

@ -126,7 +126,8 @@ info_help(Description) ->
" tests=\"baz\" (For every existing suite, run the first test whose~n" " tests=\"baz\" (For every existing suite, run the first test whose~n"
" name starts with bar and, if no such test exists,~n" " name starts with bar and, if no such test exists,~n"
" run the test whose name starts with bar in the~n" " run the test whose name starts with bar in the~n"
" suite's _tests module)~n",
" suite's _tests module)~n"
" compile_only=true (Compile but do not run tests)",
[ [
Description, Description,
{eunit_opts, []}, {eunit_opts, []},

+ 3
- 1
src/rebar_qc.erl 查看文件

@ -67,7 +67,9 @@ info(help, qc) ->
"Valid rebar.config options:~n" "Valid rebar.config options:~n"
" {qc_opts, [{qc_mod, module()}, Options]}~n" " {qc_opts, [{qc_mod, module()}, Options]}~n"
" ~p~n" " ~p~n"
" ~p~n",
" ~p~n"
"Valid command line options:~n"
" compile_only=true (Compile but do not test properties)",
[ [
{qc_compile_opts, []}, {qc_compile_opts, []},
{qc_first_files, []} {qc_first_files, []}

Loading…
取消
儲存