Skip to content

Commit

Permalink
Export additional shell variable
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
  • Loading branch information
lemenkov committed Mar 5, 2016
1 parent 10ee0ab commit 7a26925
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions macros.erlang
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
FFLAGS="${FFLAGS:-%optflags%{?_fmoddir: -I%_fmoddir}}" ; export FFLAGS ; \
FCFLAGS="${FCFLAGS:-%optflags%{?_fmoddir: -I%_fmoddir}}" ; export FCFLAGS ; \
%{?__global_ldflags:LDFLAGS="${LDFLAGS:-%__global_ldflags}" ; export LDFLAGS ;} \
VSN="%{version}" ; export VSN ; \
%__rebar compile -vv
# deprecated backwards compatibility
%__rebar_compile %rebar_compile
Expand All @@ -21,6 +22,7 @@
FFLAGS="${FFLAGS:-%optflags%{?_fmoddir: -I%_fmoddir}}" ; export FFLAGS ; \
FCFLAGS="${FCFLAGS:-%optflags%{?_fmoddir: -I%_fmoddir}}" ; export FCFLAGS ; \
%{?__global_ldflags:LDFLAGS="${LDFLAGS:-%__global_ldflags}" ; export LDFLAGS ;} \
VSN="%{version}" ; export VSN ; \
%__rebar ct skip_deps=true -vv

%rebar_doc \
Expand All @@ -32,6 +34,7 @@
FFLAGS="${FFLAGS:-%optflags%{?_fmoddir: -I%_fmoddir}}" ; export FFLAGS ; \
FCFLAGS="${FCFLAGS:-%optflags%{?_fmoddir: -I%_fmoddir}}" ; export FCFLAGS ; \
%{?__global_ldflags:LDFLAGS="${LDFLAGS:-%__global_ldflags}" ; export LDFLAGS ;} \
VSN="%{version}" ; export VSN ; \
%__rebar eunit skip_deps=true -vv


Expand Down

0 comments on commit 7a26925

Please sign in to comment.