Dave Smith
81112cbd07
Only regenerate edocs if a source file is newer than
overview-summary.html
13 years ago
Dave Smith
0f24d93256
Move to major.minor.patch release version; add OTP build version
version info
13 years ago
Tuncer Ayaz
f7d9a9bf8b
Fix whitespace errors
13 years ago
Yurin Slava
e4bc95500c
Fix #232 (rebar_reltool:mk_target_dir)
13 years ago
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.
13 years ago
Tuncer Ayaz
15d1c275f8
Simplify and fix check if enter/leaving should be printed
13 years ago
Tuncer Ayaz
4f6ea2fd11
Do not print entering/leaving message if skip_dir
13 years ago
Tuncer Ayaz
635d1a9456
Fix file extension bug (Reported-by: Tony Rogvall)
13 years ago
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.
13 years ago
Tuncer Ayaz
32ddef7158
Remove alt_url support in favor of new features
13 years ago
Tuncer Ayaz
e6d5a494b0
Clarify use of git describe
13 years ago
Tuncer Ayaz
dc472bd958
Do not use inherited port options
13 years ago
Tuncer Ayaz
b2fdce8879
Use dict() instead of proplist() for shared env
13 years ago
Ulf Wiger
afffb4895a
Use correct value for file:script SCRIPT binding
13 years ago
Tuncer Ayaz
9c1a877bbe
Remove gratuitous blank line
13 years ago
Ulf Wiger
c3c64c1d70
Fix file:script support
13 years ago
Tuncer Ayaz
7c418ed2b4
Add support for target-specific port options
{port_specs, [{".*", "priv/foo.so", ["c_src/foo.c"], [{env, []}]}]}.
13 years ago
Ulf Wiger
b3e9e76f57
Use file:script if a .config.script file present
13 years ago
Tuncer Ayaz
fc83f4b961
Apply Tidier suggestion
13 years ago
Tuncer Ayaz
aeb3081111
Update getopt.erl
13 years ago
Tuncer Ayaz
0e7defaf64
Fix typo in comment (thanks Michael Santos)
13 years ago
Tuncer Ayaz
7864b81e2d
Update getopt.erl
13 years ago
Tuncer Ayaz
ae178b851b
Fix #209 (Reported-by: Bjorn Bylander)
Use correct ERL_LIBS separator on Windows.
13 years ago
Tuncer Ayaz
4a9dae76a4
Fix #197 by printing 'Entering/Leaving directory'
13 years ago
Amit Kapoor
63f1b1d9d5
Use lists:member/2 to check xref results
13 years ago
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 years ago
Tuncer Ayaz
7bd8cbd8d9
Make error message more descriptive
13 years ago
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 years ago
Ali Yakout
e0d9ca0773
asn1_compiler: only move hrl file if it exists
13 years ago
Tuncer Ayaz
3f14c1c092
Skip erlang:halt/1 workaround if >=R15B01
13 years ago
Tuncer Ayaz
b6fadef5d3
Fix whitespace errors
13 years ago
Loïc Hoguin
2c37270f52
Fix badarg crashes on missing dependency errors
13 years ago
Tuncer Ayaz
9d5557b16f
Deprecate port_envs in favor of port_env
13 years ago
Юрин Вячеслав
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 years ago
Tuncer Ayaz
4e0c9506f5
Fix src_dirs option to not hard-code "src"
13 years ago
Jesse Gumm
33546cc402
Fix copying dir to non-existing dir in Win32
13 years ago
Jesse Gumm
4f6f41cabb
Fix typos in rebar_templater
13 years ago
Tuncer Ayaz
da122b3e57
Add rebar_utils:delayed_halt/1
13 years ago
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 years ago
Jeremy Raymond
7e84634b8f
Fix for destruction of config app vars on reset
13 years ago
Tuncer Ayaz
1a613d6123
Remove debug log
13 years ago
Tuncer Ayaz
b48cc0c7eb
Fix regression in port_compiler needs_link check
13 years ago
Shunichi Shinohara
ebb2345071
Treat callback attributes same as behaviour_info
Automatically include modules with callback attributes in
erl_first_files.
13 years ago
Tuncer Ayaz
1c1a32b8ba
Use lists:flatmap/2
13 years ago
Yurin Slava
5a640a92fd
Remove unused include_lib directive
13 years ago
Tuncer Ayaz
b7fb2aeec6
Fix loading of local plugins in sub directories
13 years ago
Tuncer Ayaz
6898eff2c7
Rework port compiler support
* consolidate options
* add support for building executables
13 years ago
Tuncer Ayaz
ba538094ba
Extend rebar_utils:deprecated
13 years ago
Tuncer Ayaz
a176db6937
Fix Dialyzer (race condition) warning
13 years ago
Yurii Rashkovskii
fe1652e137
Cache vsn info to avoid expensive vcs cmd calls
13 years ago