Commit graph

1606 commits

Author SHA1 Message Date
Pavel Baturko
dfc3cc5ad2 Skip check for ebin directory when building edoc
edoc target fails if ebin directory does not exist.
ebin directory is not necessary for building edoc.
Skip check that ebin directory exist.
2014-10-24 00:40:50 +04:00
Fred Hebert
71aedb8674 Merge pull request #372 from robertoaloi/eval
Implement eval command via nodetool
2014-10-21 08:56:41 -04:00
Roberto Aloi
93ccbf936c Implement eval command via nodetool 2014-10-21 14:22:37 +02:00
Fred Hebert
b693c23663 Merge pull request #371 from ferd/cover-print-percent
Fix cover print truncation when coverage is 100%
2014-10-16 15:40:46 -04:00
Fred Hebert
6f7e70edee Fix cover print truncation when coverage is 100%
When the option {cover_print_enabled, true} is set and that the code
coverage is 100%, the '%' will end up being truncated.

This patch makes it so that the truncation happens at 4 a characters
width so that instead of the following printouts:

    some_mod  : 99%
    some_other: 100

We instead show:

    some_mod  :  99%
    some_other: 100%

This solves issue #331 as reported by @lispking and @NineFX.
2014-10-16 12:00:54 -04:00
Fred Hebert
9c7dae7e25 Merge pull request #368 from eproxus/handle-more-characters-in-paths
Escape more characters in path (fix #367)
2014-10-14 08:11:20 -04:00
Adam Lindberg
ec6ff3597d Escape more characters in path (fix #367) 2014-10-14 12:29:40 +02:00
Fred Hebert
ad3328b144 Merge pull request #356 from tuncer/contributing-typo
Fix minor typo in CONTRIBUTING.md
2014-10-06 09:32:57 -04:00
Fred Hebert
4e378a4842 Merge pull request #355 from tuncer/fix-make_build_plt
Fix 'make build_plt'
2014-09-18 11:43:56 -04:00
Fred Hebert
ab40289b32 Merge pull request #360 from tuncer/pr293-follow-up
Minor follow-up fixes for #293
2014-09-11 11:03:00 -07:00
Tuncer Ayaz
c2afc7d98b Minor follow-up fixes for #293 2014-09-11 19:06:04 +02:00
Fred Hebert
d5e3b4329c Merge pull request #293 from liskin/port-deps
Check C source dependencies in needs_compile
2014-09-11 09:53:30 -07:00
Tuncer Ayaz
232488c265 Fix minor typo in CONTRIBUTING.md 2014-09-06 16:11:08 +02:00
Tuncer Ayaz
b813542f26 Fix 'make build_plt'
The dialyzer --add_to_plt call was not specifying the proper
rebar plt to add diameter to.
2014-09-03 20:19:18 +02:00
Fred Hebert
c074240b1f Normalize whitespace 2014-08-29 11:10:23 -04:00
Andrew Thompson
69b6e304e8 Merge pull request #351 from joedevivo/master
fish shell completions for rebar
2014-08-28 21:09:13 +00:00
Fred Hebert
9c1da17d79 Merge pull request #352 from tuncer/rebased-309
Add typer target (rebase of #309)
2014-08-28 16:10:20 -04:00
varnerac-ubnt
33b8769bf7 Add typer target
This patch adds a typer target to the Makefile. It makes it
easier for developers to start adding specs to the codebase. It
also as a build_plt target with the built-in applications typer
needs to analyze rebar.

This also includes the Erlang version in the generated PLT file.
typer and dialyzer targets use this file. Finally, the distclean
target removed the versioned PLT file.
2014-08-28 21:46:59 +02:00
Joe DeVivo
0a54123ff2 added fish support for './rebar' 2014-08-25 11:20:09 -07:00
Joe DeVivo
519e1c8d16 fish shell completions for rebar 2014-08-25 09:58:52 -07:00
Andrew Thompson
a467abbb16 Merge pull request #344 from evanmcc/pevm/set-path-speedup
Manually clean up paths.
2014-08-18 21:59:51 +00:00
Evan Vigil-McClanahan
ba466e2d38 Manually clean up paths
Using code:set_path/1 with very large paths is very slow on larger
projects.  On my mid-sized project, it seems to take around .4s per
call.  Emulating the call with direct path removal (using
code:del_path/1) seems to be quite a lot faster.
2014-08-18 13:56:19 -07:00
tsloughter
e9f62c4580 Bump to 2.5.1 2014-07-30 17:37:49 +00:00
Tristan Sloughter
19c215ee9f Merge pull request #299 from tuncer/rok-resource-forks
Fix OS X resource fork handling (Reported-by: Richard O'Keefe)
2014-07-25 14:10:04 -05:00
Tuncer Ayaz
3fb4a7c540 Fix OS X resource fork handling (Reported-by: Richard O'Keefe)
If you happen to fetch a zip archive of the git repo and try to build
from that, you may, for example, ask erlc to build src/._rebar.erl.
._* are OS X resource forks and not real .erl files. This may also
happen with network filesystems on OS X. To fix that, limit the
files compiled by rebar to include only those which start with
a letter or a digit.
2014-07-25 20:52:30 +02:00
Tristan Sloughter
e8a6cfe04a Merge pull request #332 from tuncer/update-dialyzer_reference
Update dialyzer_reference
2014-07-25 13:51:23 -05:00
Tuncer Ayaz
63a348743d Update dialyzer_reference 2014-07-25 20:41:23 +02:00
Tristan Sloughter
148416d0cc Merge pull request #330 from tuncer/experimental-tests
Remove experimental label from 'eunit tests='
2014-07-25 12:24:43 -05:00
Tuncer Ayaz
e9fcd11ccc Remove experimental label from 'eunit tests=' 2014-07-18 18:54:18 +02:00
Fred Hebert
3b0f916381 Merge pull request #328 from tuncer/typos-in-327
Follow-up typo fixes for #327
2014-07-17 16:24:14 -04:00
Tuncer Ayaz
38934da869 Follow-up typo fixes for #327 2014-07-17 22:20:51 +02:00
Fred Hebert
17546788c0 Merge pull request #327 from tuncer/fix-326
Adapt arch string to versioning scheme changes (>= 17.x)
2014-07-17 16:02:39 -04:00
Tuncer Ayaz
9b060f2de9 rebar_utils:otp_release/0: handle vsn like x.y.z**
As mentioned in the OTP documentation, licensed customers may use
patched OTP installations where the otp_patch_apply tool adds a '**'
suffix as a flag saying the system consists of application versions from
multiple OTP versions. When we get such a version string, we drop the
suffix, as we cannot obtain relevant information from it as far as
tooling is concerned.
2014-07-17 21:18:43 +02:00
Tuncer Ayaz
873d236ce9 Adapt arch string to versioning scheme changes (>= 17.x) 2014-07-17 18:53:58 +02:00
Tuncer Ayaz
6f60256138 Fix minor whitespace and comment issues in rebar_utils 2014-07-17 18:49:57 +02:00
Fred Hebert
1e7c7426c8 Merge branch 'tuncer-minor-fixes' 2014-07-15 08:47:05 -04:00
Fred Hebert
8b6a2a8c74 Merge branch 'minor-fixes' of https://github.com/tuncer/rebar into tuncer-minor-fixes 2014-07-15 08:45:36 -04:00
Fred Hebert
353af1cdba Merge pull request #307 from lrascao/add_bootstrap_usage
bootstrap now accepts --help usage flag
2014-07-15 08:41:58 -04:00
Fred Hebert
3824b52b89 Merge pull request #316 from talentdeficit/rebar_shell_314
fix for #314 (rebar shell somehow blocks using io:format in gen_server handle_call)
2014-07-15 08:21:27 -04:00
Fred Hebert
7f7e36740f Merge branch 'NineFX-erl-args-to-end' 2014-07-15 08:20:38 -04: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
Tuncer Ayaz
15373a580f Fix typo s/of/on/ 2014-07-13 15:12:09 +02:00
alisdair sullivan
68089c6297 update group leaders when restarting user process
ensure any processes with a reference to an old user process as their
group leader are updated to use the new user process. this introduces a
slight delay at startup as the system must wait for the new processes
to be registered. there is a max wait period of three seconds (before
the shell command gives up and throws a timeout error)

fixes #314 ("rebar shell" somehow blocks using io:format in gen_server
handle_call)
2014-07-07 23:10:14 +00:00
Tuncer Ayaz
71c2f17c9b Remove warnings_as_errors from rebar.config
rebar's beam files are actually compiled by bootstrap's call to
make:files/2, so warnings_as_errors in rebar.config isn't really used.
2014-07-01 11:17:26 +02:00
Tuncer Ayaz
c22370a2cb Use correct types for OTP >=17.x 2014-06-29 21:13:54 +02:00
Tuncer Ayaz
5f995bfdc0 Fix a few minor formatting inconsistencies
* fix overlong lines
* where appropriate use %% instead of %
2014-06-29 21:13:45 +02: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
Luis Rascão
41095e73e2 fix indentation issues 2014-06-26 23:29:26 +01:00
Fred Hebert
0d1ae7a468 Bump to 2.5.0 2014-06-23 14:50:38 -04:00
Fred Hebert
0b1e6b3779 Revert "Merge pull request #281 from tuncer/rebar-h-internal"
This reverts commit 07e2232847, reversing
changes made to 37cf470ae9.
2014-06-23 13:48:49 -04:00