1 |
Michał Górny <mgorny@g.o> writes: |
2 |
>> +# @FUNCTION: erebar |
3 |
>> +# @USAGE: <targets> |
4 |
>> +# @DESCRIPTION: |
5 |
>> +# Run rebar with verbose flag. Die on failure. |
6 |
>> +erebar() { |
7 |
>> + debug-print-function ${FUNCNAME} "${@}" |
8 |
>> + |
9 |
>> + (( $# > 0 )) || die "erebar: at least one target is required" |
10 |
>> + |
11 |
>> + local -x ERL_LIBS="${EPREFIX}$(get_erl_libs)" |
12 |
>> + rebar -v skip_deps=true "$@" || die "rebar $@ failed" |
13 |
> |
14 |
> Maybe 'die -n', for consistency with emake? |
15 |
|
16 |
Yes, just for consitency... |
17 |
|
18 |
>> +# @FUNCTION: rebar_src_prepare |
19 |
>> +# @DESCRIPTION: |
20 |
>> +# Prevent rebar from fetching in compiling dependencies. Set version in project |
21 |
> |
22 |
> I think this sentence is incorrect. |
23 |
|
24 |
Yes, "in" -> "and". Thanks for catching this! |
25 |
|
26 |
> I think I have no further comments, so the two things above |
27 |
> considered, looks good to go. |
28 |
|
29 |
Thank you for review! |
30 |
|
31 |
I have pushed eclass along with tests. Feel free to comment on tests |
32 |
later. |
33 |
|
34 |
-- Amadeusz Żołnowski |