소스 검색

Use hooks to generate rebar3 executable faster

Repeats some of the steps used in the bootstrap script for non-windows
systems so that 'rebar3 escriptize' can be used in development for
faster results:

- ./bootstrap  9.95s user 1.55s system 102% cpu 11.234 total
- rebar3 escriptize  0.49s user 0.14s system 101% cpu 0.623 total
pull/1299/head
Fred Hebert 8 년 전
부모
커밋
5eb6b7dfda
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. +4
    -0
      rebar.config

+ 4
- 0
rebar.config 파일 보기

@ -12,6 +12,10 @@
{cth_readable, "1.2.3"},
{eunit_formatters, "0.3.1"}]}.
{post_hooks, [{"(linux|darwin|solaris|freebsd|netbsd|openbsd)",
escriptize,
"cp $REBAR_BUILD_DIR/bin/rebar3 ./rebar3 && chmod u+x rebar3"}]}.
{escript_name, rebar3}.
{escript_emu_args, "%%! +sbtu +A0\n"}.
%% escript_incl_extra is for internal rebar-private use only.

불러오는 중...
취소
저장