Commit graph

1625 commits

Author SHA1 Message Date
Alexey Romanov
2ceeb32721 Merge branch 'master' of git://github.com/basho/rebar
Conflicts:
	priv/templates/simplenode.runner
2010-12-11 15:58:20 +03:00
Tuncer Ayaz
90c5da8033 Extract column 2 on CYGWIN 2010-12-10 17:17:46 +01:00
Tuncer Ayaz
a6063692b2 Use cut instead of awk to extract 1st column 2010-12-10 17:12:50 +01:00
Tuncer Ayaz
5bb78f619e Change vm process search to include non-smp beam 2010-12-10 17:11:01 +01:00
Tuncer Ayaz
618b292c3d Add Magnus Klaar to THANKS file 2010-12-09 23:29:22 +01:00
klaar
48ee15c7e7 Fix conversion of boolean atom to string
mustache:render("{{banan}}", dict:from_list([{banan, true}])).

** exception error: no function clause matching mustache:escape(true,[])
     in function  erl_eval:do_apply/5
     in call from erl_eval:expr/5
     in call from erl_eval:expr/5
     in call from mustache:render/3
2010-12-09 23:28:05 +01:00
Tuncer Ayaz
6a7e26e12a Disable printing of column headers in ps calls 2010-12-09 17:35:54 +01:00
Tuncer Ayaz
1aef693a72 Update THANKS file 2010-12-09 00:21:46 +01:00
Benjamin Nortier
ab4e0a32ab Add rebar code path to common test code path 2010-12-09 00:20:54 +01:00
Alexey Romanov
6e9cec31ef Ignore .eunit 2010-12-08 12:05:02 +01:00
Tuncer Ayaz
07269ebdb9 Add VCS dir check for bzr and svn 2010-12-07 19:32:58 +01:00
Dave Smith
3e12630f23 Check for VCS directory before attempting source update. 2010-12-07 10:38:00 -07:00
Tuncer Ayaz
2ff81e5058 Fix portability of ps invocation 2010-12-07 11:55:34 +01:00
Alexey Romanov
d9f0cdeddd ignore .eunit 2010-12-07 12:21:54 +03:00
Alexey Romanov
4699a7c9c5 Fix quotes 2010-12-07 12:18:06 +03:00
Alexey Romanov
62bfad57a5 Allow for non-SMP emulator 2010-12-07 12:17:47 +03:00
Tuncer Ayaz
0bb429c197 Fix code clarity 2010-12-07 01:03:17 +01:00
Tuncer Ayaz
2e0eab45cb Fix whitespace error and add file local variables 2010-12-07 00:16:14 +01:00
Tuncer Ayaz
9f5d35991f Fix bashism 2010-12-02 20:13:32 +01:00
Tuncer Ayaz
298687dd08 Add Mihai Balea to THANKS file 2010-12-01 17:30:58 +01:00
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
2010-12-01 17:30:23 +01:00
Tuncer Ayaz
b4b97c3660 Add Joseph Wayne Norton to THANKS file 2010-11-30 01:34:08 +01:00
Tuncer Ayaz
aecfd6489e Add Adam Kocoloski to THANKS file 2010-11-30 01:27:34 +01:00
Adam Kocoloski
8118083122 Return descriptive errors from is_app_available() 2010-11-30 01:18:48 +01:00
Tuncer Ayaz
bb6d07011f Add debug_info=1 to shell completion 2010-11-30 00:24:27 +01:00
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.
2010-11-30 00:24:20 +01:00
Joseph Wayne Norton
e36783112d Support dialyzer plt paths having "~/" as a prefix
e.g. {dialyzer_opts, [{plt, "~/.dialyzer_plt.R14B"}]}.
2010-11-23 19:03:56 +01:00
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.
2010-11-22 23:48:28 +01:00
Tuncer Ayaz
57eca0272e Add Misha Gorodnitzky to THANKS file 2010-11-21 21:59:34 +01:00
Andrew Thompson
2387a8e966 Document the pre and post script hooks 2010-11-21 21:58:57 +01:00
Misha Gorodnitzky
064195dc5a Fix git tag and branch dependency handling
Change git downloads and updates to not create branches and fix git
tag handling.
2010-11-20 23:32:49 +01:00
Tuncer Ayaz
b2e7e5b787 Fix dialyzer_opts documentation 2010-11-20 23:31:35 +01:00
Tuncer Ayaz
90058c7f52 Add Daniel Neri to THANKS file 2010-11-20 00:14:46 +01:00
Andrew Thompson
9cafd06bdf Document edoc_opts 2010-11-20 00:13:45 +01:00
Daniel Néri
72cdcd9573 Remove mention of "clean" command from rebar_edoc 2010-11-14 13:35:14 +01:00
Daniel Néri
6785c16f02 Fix EDoc syntax errors 2010-11-14 13:32:30 +01:00
Anders
513ae33c5c Add possibility to specify rebar config for the "main" application 2010-11-09 20:19:38 -07:00
Anders
c604d85ed5 Create ebin directory if it is missing for deps 2010-11-09 20:19:38 -07:00
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.
2010-10-29 11:52:20 -04:00
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.
2010-10-29 11:52:13 -04:00
Juhani Rankimies
80c065191f Port rebar_eunit_tests to Windows 2010-10-27 11:39:12 -06:00
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.
2010-10-27 11:39:12 -06:00
Juhani Rankimies
75fc2378bf Remove unused functions from rebar_file_utils
mkdir_p/1 and ln_sf/2.
2010-10-27 11:39:12 -06:00
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.
2010-10-27 11:39:12 -06:00
Dave Smith
1da8b9ca93 Fix bz://705; make sure to invoke chmod as part of the template 2010-10-27 07:50:27 -06:00
Kostis Sagonas
7dc76d578e Tidier improvements 2010-10-26 00:38:51 +02:00
Tuncer Ayaz
1a577fcd43 Clarify rebar_utils:ensure_dir/1 comment 2010-10-25 23:09:37 +02:00
Tuncer Ayaz
2d2aed627f Refactor Dialyzer support to make it more usable 2010-10-25 22:37:18 +02:00
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.
2010-10-25 06:31:07 -06:00
Tuncer Ayaz
1690139be9 Match ok result of filelib:ensure_dir/1 2010-10-22 22:12:25 +02:00