Tuncer Ayaz
1aef693a72
Update THANKS file
vor 14 Jahren
Benjamin Nortier
ab4e0a32ab
Add rebar code path to common test code path
vor 14 Jahren
Alexey Romanov
6e9cec31ef
Ignore .eunit
vor 14 Jahren
Tuncer Ayaz
07269ebdb9
Add VCS dir check for bzr and svn
vor 14 Jahren
Dave Smith
3e12630f23
Check for VCS directory before attempting source update.
vor 14 Jahren
Tuncer Ayaz
2ff81e5058
Fix portability of ps invocation
vor 14 Jahren
Alexey Romanov
d9f0cdeddd
ignore .eunit
vor 14 Jahren
Alexey Romanov
4699a7c9c5
Fix quotes
vor 14 Jahren
Alexey Romanov
62bfad57a5
Allow for non-SMP emulator
vor 14 Jahren
Tuncer Ayaz
0bb429c197
Fix code clarity
vor 14 Jahren
Tuncer Ayaz
2e0eab45cb
Fix whitespace error and add file local variables
vor 14 Jahren
Tuncer Ayaz
9f5d35991f
Fix bashism
vor 14 Jahren
Tuncer Ayaz
298687dd08
Add Mihai Balea to THANKS file
vor 14 Jahren
Mihai Balea
837192e34e
Fix compilation of *_first_files
- Check the existence of first_files and fail if they are not present
- Get first_files lists from local instead of inherited config
definitions, since they only make sense in the local context
vor 14 Jahren
Tuncer Ayaz
b4b97c3660
Add Joseph Wayne Norton to THANKS file
vor 14 Jahren
Tuncer Ayaz
aecfd6489e
Add Adam Kocoloski to THANKS file
vor 14 Jahren
Adam Kocoloski
8118083122
Return descriptive errors from is_app_available()
vor 14 Jahren
Tuncer Ayaz
bb6d07011f
Add debug_info=1 to shell completion
vor 14 Jahren
Joseph Wayne Norton
d24021f4e3
Add new global flag 'debug_info' to erlc_compiler
Using rebar's commandline, enable/disable 'debug_info' for
compilation. This feature if added to all rebar compilers could help
simplify and standardize this common use case for all rebar build
targets.
vor 14 Jahren
Joseph Wayne Norton
e36783112d
Support dialyzer plt paths having "~/" as a prefix
e.g. {dialyzer_opts, [{plt, "~/.dialyzer_plt.R14B"}]}.
vor 14 Jahren
Juhani Rankimies
fe664e8c50
Fix bug 805
Use rebar_utils:find_executable/1 that wraps the
path in quotes to make it work even if it contains
whitespace.
vor 14 Jahren
Tuncer Ayaz
57eca0272e
Add Misha Gorodnitzky to THANKS file
vor 14 Jahren
Andrew Thompson
2387a8e966
Document the pre and post script hooks
vor 14 Jahren
Misha Gorodnitzky
064195dc5a
Fix git tag and branch dependency handling
Change git downloads and updates to not create branches and fix git
tag handling.
vor 14 Jahren
Tuncer Ayaz
b2e7e5b787
Fix dialyzer_opts documentation
vor 14 Jahren
Tuncer Ayaz
90058c7f52
Add Daniel Neri to THANKS file
vor 14 Jahren
Andrew Thompson
9cafd06bdf
Document edoc_opts
vor 14 Jahren
Daniel Néri
72cdcd9573
Remove mention of "clean" command from rebar_edoc
vor 14 Jahren
Daniel Néri
6785c16f02
Fix EDoc syntax errors
vor 14 Jahren
Anders
513ae33c5c
Add possibility to specify rebar config for the "main" application
vor 14 Jahren
Anders
c604d85ed5
Create ebin directory if it is missing for deps
vor 14 Jahren
Andrew Thompson
5158f9531d
Stop clean from erroring if there's no .app file
If rebar tries to clean the .app file (because there's a .app.src file)
and it doesn't exist (possibly because of a bad compile), don't fail.
vor 14 Jahren
Andrew Thompson
ff5a7982eb
Improve error logging when running a command fails
Make the error message newline terminated and, if possible, log the name
of the module in which the failure occured.
vor 14 Jahren
Juhani Rankimies
80c065191f
Port rebar_eunit_tests to Windows
vor 14 Jahren
Juhani Rankimies
fd5ebe69a4
Port rebar_file_utils to Windows
Modify rm_rf and cp_r to work when {win32,_} = os:type().
Simplify rm_rf to only accept one filename, directoryname or wildcard.
Add unit tests to ensure a similar behaviour on windows and unix.
Thanks to tuncer for guidance and feedback.
vor 14 Jahren
Juhani Rankimies
75fc2378bf
Remove unused functions from rebar_file_utils
mkdir_p/1 and ln_sf/2.
vor 14 Jahren
Juhani Rankimies
ff5581c44a
Improve rebar.bat
Add support for invoking rebar from other than current directory.
For example: ..\rebar create-node nodeid=mysample
requires rebar.bar and rebar (escript) to be in the same directory.
vor 14 Jahren
Dave Smith
1da8b9ca93
Fix bz://705; make sure to invoke chmod as part of the template
vor 14 Jahren
Kostis Sagonas
7dc76d578e
Tidier improvements
vor 14 Jahren
Tuncer Ayaz
1a577fcd43
Clarify rebar_utils:ensure_dir/1 comment
vor 14 Jahren
Tuncer Ayaz
2d2aed627f
Refactor Dialyzer support to make it more usable
vor 14 Jahren
Dave Smith
7ddd4bdaad
Fixed 819; removed the edoc clean function entirely in favor of requiring user to explicitly specify what files should be deleted.
If there is no convention or way to programatically figure out what files to process, don't guess.
vor 14 Jahren
Tuncer Ayaz
1690139be9
Match ok result of filelib:ensure_dir/1
vor 14 Jahren
Dave Smith
67d4fbf337
Add support for overriding the default name/location of the escript; add support for cleaning generated script file
--HG--
extra : rebase_source : 466f440dcb
vor 14 Jahren
David Reid
968ef1cc77
First pass at updating dependencies (svn, hg, bzr untested)
vor 14 Jahren
Oscar Hellström
8ea62597ff
Use eunit_dir() instead of ?EUNIT_DIR since the function exists.
The eunit_dir() does use the ?EUNIT_DIR macro internally, but it also builds, what I guess is, an absolute path, which might be better :) At least it's more consistent.
vor 14 Jahren
Oscar Hellström
8c03d5959b
Make sure *both* .eunit and ebin directory exists before setting up the code path.
Normally the ebin directory doesn't contain any source files. Therefore it won't be kept in the repository by, at least, mercurial and also maybe git unless you put some .keep file in it or do some other hack. The ebin directory is created by rebar compile, but if rebar eunit is called before rebar compile, you end up with a {'EXIT', {{badmatch,{error,bad_directory}},...}. Another approach would be not to match cod:add_pathz(ebin_dir()) with ok, but I think this is an ok solution as well.
vor 14 Jahren
Tuncer Ayaz
79546e66ff
Add spec: rebar_utils:abort/2 does not return
Thanks to Kostis for no_return() result type.
vor 14 Jahren
Tuncer Ayaz
77660c5da6
Fix bug found by Dialyzer in neotoma compiler
Thanks to Cliff Moon for correct fun clause to add.
vor 14 Jahren
Tuncer Ayaz
c2917b31d4
Fix issues found by dialyzer
vor 14 Jahren