Commit graph

115 commits

Author SHA1 Message Date
Igor Savchuk
d5d691d7f7 Fix app.config argument passing when using ct_run (take 2)
ct_run has changed its config key from -ct_config to -config,
thus, -config key, used to specify app.config now must be
placed after -erl_args
2014-12-22 21:36:41 +03:00
Fred Hebert
94d568ad0e Merge branch 'fix_format_source' of https://github.com/irpab/rebar into irpab-fix_format_source
Conflicts:
	THANKS
2014-12-21 15:35:13 -05:00
Fred Hebert
ae7a7aae18 Revert "Merge branch 'kittee-ct_appconfig_fix'"
This reverts commit 3c0f420c2a, reversing
changes made to 8f64e13184.
2014-12-21 15:25:00 -05:00
Fred Hebert
440d73825b Merge branch 'ct_appconfig_fix' of https://github.com/kittee/rebar into kittee-ct_appconfig_fix
Conflicts:
	THANKS
2014-12-21 15:17:03 -05:00
stwind
a83c80d4c0 Fix deps path check in rebar_ct:collect_glob/3
Since rebar_deps:get_deps_dir/1 returns an absolute path,
lists:member(Deps, Parts2) will always return false, thus .test.spec
files in deps/ will not be ignored.
2014-12-11 11:59:40 +08:00
Vlad Dumitrescu
7d55c9986f Fix detection and processing of .app.src.script
Loading .app, .app.src or .app.src.script returns now the value as per
the documentation (was wrapped in a list in some cases).

More places in the code detect .app.src.script and handle it.
2014-12-03 18:39:17 +01:00
Igor Savchuk
bc46b501d0 Fix app.config argument passing when using ct_run
ct_run has changed its config key from -ct_config to -config,
thus, -config key, used to specify app.config now must be
placed after -erl_args
2014-11-28 16:48:47 +03:00
Fred Hebert
4ba8f74787 Revert "Merge branch 'platinumthinker-color_in_logs'"
This reverts commit 49930fe566, reversing
changes made to 6e6b0fd43f.
2014-11-21 09:57:49 -05:00
Fred Hebert
733d3771fa Merge branch 'color_in_logs' of https://github.com/platinumthinker/rebar into platinumthinker-color_in_logs
Conflicts:
	THANKS
2014-11-21 09:46:10 -05:00
Andrey Teplyashin
c01cf5902b Add colored logs 2014-11-19 23:44:55 +06:00
Luis Rascão
144cb8c156 Add proto compiler gpb inttest
exercises rebar/gpb integration

The bulk of these tests are written by Luis Rascão, hence he is the
author of this commit. As the committer, I have cherry-picked his two
commits 4c87bcd and ebb8182, from the feature/support_gpb_protobuf
branch in the git://github.com/lrascao/rebar repo, and have slightly
adapted it to fit this pluggable-proto-compilers-gpb branch.

Update the THANKS file
2014-10-29 23:46:01 +01:00
Pavel Baturko
5d89a93db2 deps: add new clause of format_source function
Function format_source in rebar_deps.erl will fail on sources
like {rsync, Path} or {hg, URL} in rebar.config.
Add new function clause to match such source types.
2014-10-24 09:47:23 +04:00
Roberto Aloi
93ccbf936c Implement eval command via nodetool 2014-10-21 14:22:37 +02:00
Fred Hebert
dcfa6daf30 Merge branch 'erl-args-to-end' of https://github.com/NineFX/rebar into NineFX-erl-args-to-end
Conflicts:
	THANKS
2014-07-15 08:20:29 -04:00
varnerac-ubnt
35ee457176 Fix bug 271
Moves ct_extra_params to the end of the generated ct_run command.
This allows users to pass commands to the underlying emulator
using -erl_args. The included rt test demonstrates that it is
possible to pass an addtional option to ct_run and -erl_args at
the same time. Finally, the test executes in regular and verbose
modes because rebar constructs the ct_run command differently in
verbose mode.
2014-06-27 15:35:56 -05:00
Andras Horvath
4a6dc223b7 Add code coverage analysis functionality to `qc'
- Use `cover' with QuickCheck testing
- Reuse the `cover_*' rebar.config options
- Refactor cover-related code to separate module (`qc_cover_utils')
  for use with both `eunit' and `qc'
2014-06-14 19:23:45 +02:00
Tristan Sloughter
6a4d80e385 Revert "Merge pull request #171 from fenollp/using-stdlib"
This reverts commit 3297ffec2c, reversing
changes made to 0401debb3c.
2014-06-14 12:10:08 -05:00
Pierre Fenoll
258ab8a623 Rebasing. Fix differences with c26b0c7 c996e98 b690842. 2014-06-13 14:39:15 +02:00
Fred Hebert
46c979eaaf adding Alexander Verbitsky to THANKS file 2014-05-29 14:31:34 -04:00
alisdair sullivan
89cd24937e improve behaviour of rebar shell
attempt to emulate the behavior of
`erl -pa ebin -pa deps/*/ebin`

fix error messages and formatting issues of `rebar shell` by
shutting down and restarting the user subsystem in a mode more
hospitable to the shell than the simple user started when run
as an escript. emulate `error_logger` behaviour when the shell
is run via `erl`

add documentation of the shell command

limitations:

the erlang interrupt handler is not enabled when running as an
escript and there is no interface to re-enable it via erlang code.
this means `ctrl-c` will immediately exit the running process
unlike when running the shell via `erl`. `ctrl-g` is, however,
unaffected

the user subsystem is killed and restarted but not supervised. if
your code somehow relies on the user subsystem crashing and
restarting `rebar shell` may interfere with it's operation
2014-05-26 22:35:10 +00:00
Yuki Ito
c996e9878b Make sure that eunit/qc_compile_opts works fix #245 2014-05-13 12:53:52 +09:00
goofansu
2b8e17246d Update THANKS
Add my name to THANKS
2014-04-18 10:45:35 +08:00
Tuncer Ayaz
b6908421b7 erlc: clean-up, enhance, and regression fix fd17693
* update files
* fix Dialyzer warning
* unconditionally enable info fil
* clean-up inconsistencies
* use term_to_binary compression
* use try...catch instead of case...catch...of
* do not write build info file if the graph is unmodified
* store info file as <base_dir>/.rebarinfo
* properly support list of compile directives
* fix regressions:
 - Fix a bug in handling of files to compile first.
 - If a file that is depended upon itself depends on other files, make sure
   those are compiled first. While at it, rename variables for correctness.
   Reported-by: David Robakowski
 - Make sure that FirstFiles has no dupes and preserves the proper order.
 - headers referenced via -include_lib() were not properly resolved to absolute
   filenames
 - .erl files found in sub dirs of src_dirs were not properly resolved to
   absolute filenames
2014-03-05 15:44:38 +01:00
Tuncer Ayaz
b78b169747 Update THANKS file 2013-06-24 21:46:24 +02:00
DeadZen
5ebc29c21e Update THANKS 2012-11-24 12:06:00 -05:00
Tuncer Ayaz
27a1bbb9da Add Magnus Henoch to THANKS 2012-10-22 22:10:29 +02:00
Dave Smith
9d7cf0a1f1 Adding Serge Aleynikov to THANKS 2012-10-20 19:52:44 -06:00
Tuncer Ayaz
6d52a4aeb4 Add Martin Schut to THANKS file 2012-09-28 23:37:06 +02:00
Tuncer Ayaz
3e3e639c89 Add Daniel White to THANKS file 2012-09-20 18:32:28 +02:00
Tuncer Ayaz
f9a759bef9 Add Ryan Zezeski to THANKS file 2012-09-03 12:10:35 +02:00
Tuncer Ayaz
18dbcd61b6 Add Dmitriy Kargapolov to THANKS file 2012-08-30 22:18:33 +02:00
Tuncer Ayaz
7889cbe523 Add Markus Nasman to THANKS file 2012-08-30 17:27:43 +02:00
Tuncer Ayaz
1dfb407bbc Add Joe DeVivo to THANKS file 2012-08-18 17:19:42 +02:00
Tuncer Ayaz
d76d063d05 Add Roberto Ostinelli to THANKS file 2012-08-11 23:11:50 +02:00
Tuncer Ayaz
19d1ee2c4e Update THANKS file 2012-08-08 00:52:54 +02:00
Tuncer Ayaz
d90697d40e Fix David Aaberg's name 2012-08-07 16:47:42 +02:00
Tuncer Ayaz
208915dd37 Add DeadZen to THANKS file 2012-08-07 14:22:59 +02:00
Tuncer Ayaz
19ef152ddf Add David Aberg to THANKS file 2012-08-07 13:57:35 +02:00
Tuncer Ayaz
aff3680d49 Add Kresten Krab Thorup to THANKS file 2012-07-11 17:28:33 +02:00
Tuncer Ayaz
cbe682752a Add Fred Hebert to THANKS file 2012-07-10 10:42:51 +02:00
Tuncer Ayaz
452e7c8d9f Add Eric B Merritt to THANKS file 2012-07-03 15:18:09 +02:00
Tuncer Ayaz
6236ae1ce6 Add Motiejus Jakstys to THANKS file 2012-07-02 19:26:47 +02:00
Tuncer Ayaz
ec2f67def8 Fix Slava's name in THANKS file 2012-07-02 18:34:16 +02:00
Tuncer Ayaz
3368e8b307 Add Daniel Luna to THANKS file 2012-06-29 21:39:40 +02:00
Tuncer Ayaz
2e36109181 Add Nick Vatamaniuc to THANKS file 2012-05-14 10:04:51 +02:00
Tuncer Ayaz
2ae73cc2d3 Add Ulf Wiger to THANKS file 2012-04-16 22:45:00 +02:00
Tuncer Ayaz
39858c1bf7 Add Amit Kapoor to THANKS file 2012-04-02 19:14:55 +02:00
Tuncer Ayaz
a4eceba505 Add Adam Schepis to THANKS file 2012-03-31 19:21:31 +02:00
Tuncer Ayaz
3469039201 Add Ali Yakout to THANKS file 2012-03-30 16:58:50 +02:00
Tuncer Ayaz
196bc40cac Add Loic Hoguin to THANKS file 2012-03-18 19:00:23 +01:00