Tuncer Ayaz
4f6ea2fd11
Do not print entering/leaving message if skip_dir
13 anni fa
Tuncer Ayaz
635d1a9456
Fix file extension bug (Reported-by: Tony Rogvall)
13 anni fa
Tuncer Ayaz
2e36109181
Add Nick Vatamaniuc to THANKS file
13 anni fa
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 anni fa
Tuncer Ayaz
32ddef7158
Remove alt_url support in favor of new features
13 anni fa
Tuncer Ayaz
e6d5a494b0
Clarify use of git describe
13 anni fa
Tuncer Ayaz
4ee2f6ea1b
Update README
13 anni fa
alisdair sullivan
79d173c49d
should also include compiler in list of application dependencies for rebar
13 anni fa
alisdair sullivan
80f91af2d2
add crypto, syntax_tools and tools to applications key as dependencies
13 anni fa
Tuncer Ayaz
dc472bd958
Do not use inherited port options
13 anni fa
Tuncer Ayaz
b2fdce8879
Use dict() instead of proplist() for shared env
13 anni fa
joewilliams
d726e598b5
Add support for using -remsh via runner script
13 anni fa
Ulf Wiger
afffb4895a
Use correct value for file:script SCRIPT binding
13 anni fa
Francis Joanis
47716a7ed8
Use correctly escaped pipes in usage message
13 anni fa
Matt Campbell
6f85854414
Improvements to windows node runner script
* Typos and other minor bug fixes
* Add "attach" command (via -remsh)
* Add "upgrade" command to install a hot upgrade package
* Add "upgrade" subcommand to UNIX runner script as well
13 anni fa
Tuncer Ayaz
9c1a877bbe
Remove gratuitous blank line
13 anni fa
Ulf Wiger
c3c64c1d70
Fix file:script support
13 anni fa
Tuncer Ayaz
7c418ed2b4
Add support for target-specific port options
{port_specs, [{".*", "priv/foo.so", ["c_src/foo.c"], [{env, []}]}]}.
13 anni fa
Tuncer Ayaz
2ae73cc2d3
Add Ulf Wiger to THANKS file
13 anni fa
Ulf Wiger
b3e9e76f57
Use file:script if a .config.script file present
13 anni fa
Tuncer Ayaz
fc83f4b961
Apply Tidier suggestion
13 anni fa
Tuncer Ayaz
aeb3081111
Update getopt.erl
13 anni fa
Tuncer Ayaz
0e7defaf64
Fix typo in comment (thanks Michael Santos)
13 anni fa
Tuncer Ayaz
0b8ca933cc
Fix whitespace error
13 anni fa
joewilliams
bdc1a85239
Add foreground as a runner start option
13 anni fa
Tuncer Ayaz
7864b81e2d
Update getopt.erl
13 anni fa
Amit Kapoor
6ada1c24c7
Update filter list for custom xref query
Rebar has support for optional compilers built-in. These compilers might
not be installed causing xref to return errors for the undefined external
function calls query. The updated filter list will catch this error and
act as a nop if they are installed.
13 anni fa
Tuncer Ayaz
ae178b851b
Fix #209 (Reported-by: Bjorn Bylander)
Use correct ERL_LIBS separator on Windows.
13 anni fa
Yurin Slava
29d71e356c
simplenode.runner: fix HEART_CMD arguments
13 anni fa
Yurin Slava
cd1cc6dbee
simplenode.runner: properly quote arguments
bin/<release_name> console -kernel test '[{"a","b"}]' fails, because
when $@ is inserted into CMD [{"a","b"}] is interpreted.
Fix the same issue for 'start' command and quote all arguments.
13 anni fa
Tuncer Ayaz
4a9dae76a4
Fix #197 by printing 'Entering/Leaving directory'
13 anni fa
Mike Lazar
cbfabd6073
Remove generation of ps1 script (no longer needed)
13 anni fa
Tuncer Ayaz
79a580200d
Fix Makefile to not ignore xref return code
13 anni fa
Tuncer Ayaz
39858c1bf7
Add Amit Kapoor to THANKS file
13 anni fa
Amit Kapoor
63f1b1d9d5
Use lists:member/2 to check xref results
13 anni fa
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 anni fa
joewilliams
26e1252250
add more info to readme
13 anni fa
Tuncer Ayaz
7bd8cbd8d9
Make error message more descriptive
13 anni fa
Tuncer Ayaz
a4eceba505
Add Adam Schepis to THANKS file
13 anni fa
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 anni fa
Tuncer Ayaz
3469039201
Add Ali Yakout to THANKS file
13 anni fa
Ali Yakout
e0d9ca0773
asn1_compiler: only move hrl file if it exists
13 anni fa
Tuncer Ayaz
3f14c1c092
Skip erlang:halt/1 workaround if >=R15B01
13 anni fa
Tuncer Ayaz
769160ac36
Remove export_all in simplemod template
13 anni fa
Tuncer Ayaz
196bc40cac
Add Loic Hoguin to THANKS file
13 anni fa
Tuncer Ayaz
b6fadef5d3
Fix whitespace errors
13 anni fa
Loïc Hoguin
2c37270f52
Fix badarg crashes on missing dependency errors
13 anni fa
Tuncer Ayaz
9d5557b16f
Deprecate port_envs in favor of port_env
13 anni fa
Юрин Вячеслав
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 anni fa
Tuncer Ayaz
4e0c9506f5
Fix src_dirs option to not hard-code "src"
13 anni fa