Tuncer Ayaz
79546e66ff
Add spec: rebar_utils:abort/2 does not return
Thanks to Kostis for no_return() result type.
14 年前
Tuncer Ayaz
77660c5da6
Fix bug found by Dialyzer in neotoma compiler
Thanks to Cliff Moon for correct fun clause to add.
14 年前
Tuncer Ayaz
c2917b31d4
Fix issues found by dialyzer
14 年前
Kostis Sagonas
e024778599
Dialyzer related cleanups
14 年前
Dave Smith
93f77b50fc
Made OTP app module validation optional
14 年前
Andrew Thompson
1bf45036dc
Parse transforms and behaviours are compiled first
The previous code in rebar that was trying to ensure that parse
transforms and behaviours were compiled first doesn't work with multiple
compiler workers because of the possiblity of one of the workers
compiling a file that needs a parse transform or a behaviour at the same
time another worker is compiling that same parse transform or behaviour.
The solution this patch implements is to append any parse transforms and
any behaviours (in that order) to erl_first_files to ensure that they
are compiled before any regular files. This patch won't break any
currently working uses of erl_first files because we only append to the
list, so anything in erl_first_files is still compiled before anything
else.
14 年前
Andrew Thompson
f2244b26be
Add optional eunit coverage report to terminal
Add a coverage report similar to the one output to index.html except
that it is output to the terminal if the new rebar.conf option
'cover_print_enabled' is set to true.
14 年前
Tuncer Ayaz
2f1d527ef1
Fix bug 676
The previous fix to relax the regex was insufficient.
This is basically the diff proposed by Bryan Fink with
the difference of using 'C' instead of 'en_US'.
14 年前
Tuncer Ayaz
73398562aa
Fix xrl_opts/yrl_opts option handling
14 年前
Tuncer Ayaz
0a05775eed
Make SVN version matching locale agnostic
Reported-by: Manuel Duran Aguete <manuel@aguete.org>
14 年前
Tuncer Ayaz
392e312b3f
Update TODO comment
14 年前
Tuncer Ayaz
7200d18671
getopt optimization and dialyzer fix from Kostis
14 年前
Tuncer Ayaz
933e4f7620
Fix dialyzer warning. Thanks Kostis
14 年前
Tuncer Ayaz
851c602b20
Remove never matching clause
14 年前
Tuncer Ayaz
778d4350b3
Fix warning: access the right record field
14 年前
Tuncer Ayaz
1712425588
Fix another filename:join/2 warning. Thanks Kostis
14 年前
Tuncer Ayaz
ba8daa5212
Log {error, read_error} dialyzer plt_info error
14 年前
Tuncer Ayaz
59ecb2028d
Fix dialyzer warning: io:format/2 -> ok
14 年前
Tuncer Ayaz
820012410a
Fix dialyzer warning for call to code:which/1
14 年前
Tuncer Ayaz
b8b112524b
Fix dialyzer warning: os:find_executable(string())
14 年前
Tuncer Ayaz
e33285aeaf
Fix dialyzer warnings in scm client vsn checks
14 年前
Tuncer Ayaz
f8900aecc3
Fix dialyzer warning for rebar_utils:sh/2 call
rebar_utils:sh/2 terminates on error and does not return an error code
as expected.
14 年前
Tuncer Ayaz
d590c18b5a
Fix dialyzer warning for filename:join/2 calls
14 年前
Tuncer Ayaz
3354e8ebe0
Update getopt to v0.3.0
2010-09-23 Juan Jose Comellas <juanjo@comellas.org>
* Released v0.3.0
* Added support for rebar.
* Cleaned up dialyzer warnings.
14 年前
Benjamin Nortier
ed8ecf751f
Added support for checking out tags from git
14 年前
Dan Gudmundsson
83cece0f80
Basic tweaks for compiling ports/nifs on mingw
14 年前
Dave Smith
9813126176
Adding support for embedding other apps via escript_incl_apps
--HG--
extra : rebase_source : 9eccc596d8
14 年前
Dave Smith
b32eeeafb7
Add support for specifying template directory on the command line
14 年前
Tuncer Ayaz
33918a0612
Remove 'install' from available commands list
14 年前
Dave Smith
51ed787290
Removing 'install' command; semantics were poorly defined could damage a typical OTP installation
14 年前
Andrew Thompson
24cc775e88
Warn when a command is not implemented. Fail when no supplied commands are implemented
Rebar currently doesn't give any feedback on an invalid command. This change
makes rebar keep track of how many operations each command triggers, if a
particular command doesn't change the count, there were no modules implementing
it. If at the end of handling all commands, tje count is 0, none of the supplied
commands were valid and ?FAIL is called to trigger a non zero exit status.
14 年前
Dave Smith
ce74846e4e
Fix bug 499; do not delete dependencies that are not in the deps/ directory
14 年前
Dave Smith
ed59ed2b52
Fix bug 629; updated help for new common_test command
14 年前
Dave Smith
b063d3b8df
Fix bug 438; add support for listing available templates
14 年前
Juhani Rankimies
de716e1852
fix get-deps on win32
14 年前
Dave Smith
101ea0f968
Fixing bug 463; trivial typo in @spec as identified by Bob Ippolito
14 年前
Dave Smith
0262a3b461
Fixing bug 518; original patch by Tim Watson with some minor cleanups/clarifications
14 年前
Dave Smith
370d8df02f
Only run pre/post scripts for current directory; thanks to Tim Watson for pointing this out
14 年前
Tuncer Ayaz
34647928b2
Add rebar_pre_script courtesy of Geoff Cant
14 年前
Dave Smith
5ee59c377a
Defaulting CC->cc and CXX->c++ for better cross platform support
15 年前
Russell Brown
e4772c0763
beam_lib:chunks needs abs path to beam.
Uses code:which or cover:is_compiled to get path the beam for chunks
15 年前
Tuncer Ayaz
688430fac0
Document doc command
15 年前
Dave Smith
ef175652e4
Fix up code path for eunit so that parse transforms in eunit tests work properly
15 年前
Dave Smith
f75bcdc7d5
Only skip eunit on apps IIF the app= parameter is specified
--HG--
extra : rebase_source : 2f2b819e20
15 年前
Tuncer Ayaz
8ebbffafe6
Correct typo
15 年前
Dave Smith
3588c69ad2
Fix bug 255; O/S environment vars should be processed last, not first
15 年前
Dave Smith
8d14f3193d
Initial cleanup pass on rebar_ct; removing other targets in favor of "ct" (ala how eunit support works)
15 年前
Dave Smith
c2b58ac62f
Change console message to debug message (more appropriate)
15 年前
Dave Smith
9d09ccc99a
Adding support for restricting eunit to a specific application
15 年前
Dave Smith
1f3c49cae7
Move version check/enforcement for reltool into rebar_reltool; rebar should work (excepting reltool support) with anything as far back as R12, once you've compiled it
15 年前