瀏覽代碼

Merge pull request #2360 from paulo-ferraz-oliveira/feature/alias_in_rebar_config_sample

Add `alias` to example `rebar.config.sample`
pull/2361/head
Fred Hebert 4 年之前
committed by GitHub
父節點
當前提交
d11ceb4fe9
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 13 行新增0 行删除
  1. +13
    -0
      rebar.config.sample

+ 13
- 0
rebar.config.sample 查看文件

@ -252,3 +252,16 @@
%% * {module(), function()},
%% * {module(), function(), arity()}
{xref_ignores, []}.
%% == alias ==
%% When you want a certain combination of operations to be done
%% as if you were using a rebar3 command. In the example below:
%% > rebar3 check
%% (equivalent to rebar3 do xref, dialyzer)
%% or
%% > rebar3 test
%% (equivalent to rebar3 do eunit, ct --suite=rebar_alias_SUITE, cover)
{alias, [{check, [xref, dialyzer]},
{test, [eunit, {ct, "--suite=rebar_alias_SUITE"}, cover]}]}.

Loading…
取消
儲存