Tuncer Ayaz
d7037165fd
Remove debug log
vor 13 Jahren
Tuncer Ayaz
e65455b6ef
Simplify temp dir creation
vor 13 Jahren
Tuncer Ayaz
1e980859e2
Extend escriptize and reuse in bootstrap
vor 13 Jahren
Tuncer Ayaz
8fb552b73f
Sync rebar_escripter with bootstrap escript
vor 13 Jahren
Tuncer Ayaz
c1a891ce33
Remove gratuitous lists:append/1
vor 13 Jahren
Tuncer Ayaz
8e66225e06
Fix error/warning newlines (Reported-by: Tim Watson)
vor 13 Jahren
Tuncer Ayaz
8a2274b8b4
Refactor shared error reporting code
vor 13 Jahren
Tuncer Ayaz
0716cf708c
Add support for {Line,Column} in error reports
vor 13 Jahren
Tuncer Ayaz
c3fc279ff9
Manually format lfe errors/warnings
vor 13 Jahren
Tuncer Ayaz
658f4847a2
Report warnings as errors if -Werror is enabled
vor 13 Jahren
Tuncer Ayaz
dff60918cb
Share format_errors/format_warnings functions
vor 13 Jahren
Tuncer Ayaz
4e64e0c675
Manually format port_compiler errors with absolute path
vor 13 Jahren
Tuncer Ayaz
4b9fcda7ab
Manually format leex/yecc errors/warnings
vor 13 Jahren
Tuncer Ayaz
50fbabda68
Manually report errors/warnings with absolute path
vor 13 Jahren
Tuncer Ayaz
8d81b322ed
Fix whitespace errors
vor 13 Jahren
hirschen
4414f6548a
List substitution variable names in 'list-templates' command.
vor 13 Jahren
Tuncer Ayaz
b1d06a4d14
Fix unsafe use of var
vor 13 Jahren
Tuncer Ayaz
8a046d898a
Fix whitespace errors
vor 13 Jahren
Dave Cottlehuber
83509e9982
Windows: add native SDK support
- compatible with rebar 2.0.0
vor 13 Jahren
Dave Smith
a7d64deb43
Introduce -k flag
vor 13 Jahren
Dave Smith
ebdb25c5cc
Use delayed_halt everywhere
vor 13 Jahren
Dave Smith
c86c99940d
Remove ?FAIL in favor of ?ABORT
vor 13 Jahren
Tuncer Ayaz
c122eeec75
Fix whitespace errors
vor 13 Jahren
Dave Smith
2f0e545ce0
Prefer edoc-info as determining file; overview-summary.html may not
always be generated
vor 13 Jahren
Dave Smith
81112cbd07
Only regenerate edocs if a source file is newer than
overview-summary.html
vor 13 Jahren
Dave Smith
0f24d93256
Move to major.minor.patch release version; add OTP build version
version info
vor 13 Jahren
Tuncer Ayaz
f7d9a9bf8b
Fix whitespace errors
vor 13 Jahren
Yurin Slava
e4bc95500c
Fix #232 (rebar_reltool:mk_target_dir)
vor 13 Jahren
Tim Watson
bebd9d2ae6
Support ct_run using short name
Not every system under test can be run with long names, and this makes
rebar's common_test support useless in those environments, as it
currently uses long names (test@hostname.domain ) by default, without
recourse to change them.
This patch adds support for a {ct_use_short_names, boolean()} config
variable, which allows the user to specify whether short or long names
are required.
vor 13 Jahren
Tuncer Ayaz
15d1c275f8
Simplify and fix check if enter/leaving should be printed
vor 13 Jahren
Tuncer Ayaz
4f6ea2fd11
Do not print entering/leaving message if skip_dir
vor 13 Jahren
Tuncer Ayaz
635d1a9456
Fix file extension bug (Reported-by: Tony Rogvall)
vor 13 Jahren
Nick Vatamaniuc
8d82330802
Add rsync as another option to fetch dependencies
Newly added syntax:
{deps, [ {<depname>, ".*", {rsync, "<rsync_url>"}}, ... ]}
Where rsync_url is any URL accepted by the rsync command.
vor 13 Jahren
Tuncer Ayaz
32ddef7158
Remove alt_url support in favor of new features
vor 13 Jahren
Tuncer Ayaz
e6d5a494b0
Clarify use of git describe
vor 13 Jahren
Tuncer Ayaz
dc472bd958
Do not use inherited port options
vor 13 Jahren
Tuncer Ayaz
b2fdce8879
Use dict() instead of proplist() for shared env
vor 13 Jahren
Ulf Wiger
afffb4895a
Use correct value for file:script SCRIPT binding
vor 13 Jahren
Tuncer Ayaz
9c1a877bbe
Remove gratuitous blank line
vor 13 Jahren
Ulf Wiger
c3c64c1d70
Fix file:script support
vor 13 Jahren
Tuncer Ayaz
7c418ed2b4
Add support for target-specific port options
{port_specs, [{".*", "priv/foo.so", ["c_src/foo.c"], [{env, []}]}]}.
vor 13 Jahren
Ulf Wiger
b3e9e76f57
Use file:script if a .config.script file present
vor 13 Jahren
Tuncer Ayaz
fc83f4b961
Apply Tidier suggestion
vor 13 Jahren
Tuncer Ayaz
aeb3081111
Update getopt.erl
vor 13 Jahren
Tuncer Ayaz
0e7defaf64
Fix typo in comment (thanks Michael Santos)
vor 13 Jahren
Tuncer Ayaz
7864b81e2d
Update getopt.erl
vor 13 Jahren
Tuncer Ayaz
ae178b851b
Fix #209 (Reported-by: Bjorn Bylander)
Use correct ERL_LIBS separator on Windows.
vor 13 Jahren
Tuncer Ayaz
4a9dae76a4
Fix #197 by printing 'Entering/Leaving directory'
vor 13 Jahren
Amit Kapoor
63f1b1d9d5
Use lists:member/2 to check xref results
vor 13 Jahren
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.
vor 13 Jahren