瀏覽代碼

Update sample hooks config

pull/3/head
Tuncer Ayaz 13 年之前
父節點
當前提交
8f4e80b827
共有 1 個檔案被更改,包括 4 行新增1 行删除
  1. +4
    -1
      rebar.config.sample

+ 4
- 1
rebar.config.sample 查看文件

@ -142,9 +142,12 @@
%% == Pre/Post Command Hooks == %% == Pre/Post Command Hooks ==
{pre_hooks, [{clean, "./prepare_package_files.sh"}, {pre_hooks, [{clean, "./prepare_package_files.sh"},
{compile, "escript generate_headers"}]}.
{"linux", compile, "c_src/build_linux.sh"},
{compile, "escript generate_headers"},
{compile, "escript check_headers"}]}.
{post_hooks, [{clean, "touch file1.out"}, {post_hooks, [{clean, "touch file1.out"},
{"freebsd", compile, "c_src/freebsd_tweaks.sh"},
{eunit, "touch file2.out"}, {eunit, "touch file2.out"},
{compile, "touch postcompile.out"}]}. {compile, "touch postcompile.out"}]}.

Loading…
取消
儲存