Tuncer Ayaz
7864b81e2d
Update getopt.erl
13 lat temu
Tuncer Ayaz
ae178b851b
Fix #209 (Reported-by: Bjorn Bylander)
Use correct ERL_LIBS separator on Windows.
13 lat temu
Tuncer Ayaz
4a9dae76a4
Fix #197 by printing 'Entering/Leaving directory'
13 lat temu
Amit Kapoor
63f1b1d9d5
Use lists:member/2 to check xref results
13 lat temu
Amit Kapoor
0191806f92
Add support for custom xref queries
The custom queries are configured in rebar.config via the tuple
{xref_queries, [{query(), query_result()},...]}. The implementation
passes the query() string to xref:q and compares the return value with
query_result(). It will result in an error if they do not match.
The following configuration, for example, is the same as running the
xref check undefined_function_calls. It additionally filters
ejabberd_logger:*_msg/4 from the result as these functions are generated
on execution by ejabberd and not available at compile time.
{xref_queries, [{"(XC - UC) || (XU - X - B -
(\"ejabberd_logger\":\".*_msg\"/\"4\"))",[]}]}.
This patch also modifies the build process of this package by running a
custom query instead of doing a diff against a static xref_warning file.
13 lat temu
Tuncer Ayaz
7bd8cbd8d9
Make error message more descriptive
13 lat temu
Adam Schepis
03a026f38f
Add support for alternate dependency urls
This change adds the ability to use alternate urls for downloading
dependencies. To make use of alternate urls run:
rebar get-deps alt_urls=true
13 lat temu
Ali Yakout
e0d9ca0773
asn1_compiler: only move hrl file if it exists
13 lat temu
Tuncer Ayaz
3f14c1c092
Skip erlang:halt/1 workaround if >=R15B01
13 lat temu
Tuncer Ayaz
b6fadef5d3
Fix whitespace errors
13 lat temu
Loïc Hoguin
2c37270f52
Fix badarg crashes on missing dependency errors
13 lat temu
Tuncer Ayaz
9d5557b16f
Deprecate port_envs in favor of port_env
13 lat temu
Юрин Вячеслав
0424d75d78
Make rebar understand wildcard in subdir
If you have dir with many erlang app, then you can simple write
{sub_dirs, ["some_dir/*"]}. Rebar will make operation on subdirs of
dir "some_dir".
13 lat temu
Tuncer Ayaz
4e0c9506f5
Fix src_dirs option to not hard-code "src"
13 lat temu
Jesse Gumm
33546cc402
Fix copying dir to non-existing dir in Win32
13 lat temu
Jesse Gumm
4f6f41cabb
Fix typos in rebar_templater
13 lat temu
Tuncer Ayaz
da122b3e57
Add rebar_utils:delayed_halt/1
13 lat temu
Phil Toland
8b486055e4
Fix compiling DTL templates with latest erlydtl
The latest version of erlydtl requires that custom tag modules be in
the path when templates are compiled. Without this change rebar silently
exits when using the custom_tags_modules option.
13 lat temu
Jeremy Raymond
7e84634b8f
Fix for destruction of config app vars on reset
13 lat temu
Tuncer Ayaz
1a613d6123
Remove debug log
13 lat temu
Tuncer Ayaz
b48cc0c7eb
Fix regression in port_compiler needs_link check
13 lat temu
Shunichi Shinohara
ebb2345071
Treat callback attributes same as behaviour_info
Automatically include modules with callback attributes in
erl_first_files.
13 lat temu
Tuncer Ayaz
1c1a32b8ba
Use lists:flatmap/2
13 lat temu
Yurin Slava
5a640a92fd
Remove unused include_lib directive
13 lat temu
Tuncer Ayaz
b7fb2aeec6
Fix loading of local plugins in sub directories
13 lat temu
Tuncer Ayaz
6898eff2c7
Rework port compiler support
* consolidate options
* add support for building executables
13 lat temu
Tuncer Ayaz
ba538094ba
Extend rebar_utils:deprecated
13 lat temu
Tuncer Ayaz
a176db6937
Fix Dialyzer (race condition) warning
13 lat temu
Yurii Rashkovskii
fe1652e137
Cache vsn info to avoid expensive vcs cmd calls
13 lat temu
Tuncer Ayaz
b6f3a76694
Imported new mustache.erl
13 lat temu
Tuncer Ayaz
440fa6bd31
Only print sh/2 options on debug log level
13 lat temu
Tuncer Ayaz
194f3caa3f
Fix -D and -v handling with new getopt.erl
13 lat temu
Tuncer Ayaz
c4e40714ee
Import fixed upstream getopt.erl
13 lat temu
Tuncer Ayaz
2a5320fbd6
Document verbosity level
13 lat temu
Tuncer Ayaz
2cae2950c4
Fix whitespace errors
13 lat temu
Tuncer Ayaz
e6caab00d5
Use ?ERROR where appropriate
13 lat temu
Tuncer Ayaz
015e58201c
Support different log levels
13 lat temu
Tuncer Ayaz
263b49f970
Import new upstream getopt.erl
13 lat temu
Tuncer Ayaz
ee44d8554a
Fix whitespace errors
13 lat temu
Francis Joanis
b498e86ef7
Delete existing erl files in ?EUNIT_DIR
Before copying the .erl files to the .eunit directory ensure that they
are deleted if they already exist. This prevents EACCES errors to happen
when trying to re-copy .erl files that are read-only.
13 lat temu
Tuncer Ayaz
41d6abc64d
Fix whitespace errors
13 lat temu
Tuncer Ayaz
5b15c851d8
Check for .app.src first
13 lat temu
Tuncer Ayaz
eab5ae5298
Fix code clarity in dir type check
13 lat temu
Tuncer Ayaz
0689928527
Warn if we ignore a skip_dir's sub_dirs
13 lat temu
Tuncer Ayaz
cab1671ea0
Add missing newline for logging code path update
13 lat temu
Tuncer Ayaz
45555eb6ae
Ignore sub_dirs in skip_dirs
13 lat temu
Tuncer Ayaz
87669b6b7f
Clean up rebar_utils
13 lat temu
Tuncer Ayaz
4d2d3c3af3
Remove port_first_files support
13 lat temu
Tuncer Ayaz
2be2f2bfe7
Fix whitespace errors
13 lat temu
Tuncer Ayaz
4e471e6986
Fix Dialyzer warning
13 lat temu