summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Fix indentingTuncer Ayaz2012-07-231-1/+1
|
* Finalize port_compiler deprecationsTuncer Ayaz2012-07-231-137/+21
|
* Finalize app=, skip_app=, suite= deprecationsTuncer Ayaz2012-07-233-5/+4
|
* Add 'qc' cmd and rename eunit-compile to test-compileTuncer Ayaz2012-07-235-131/+282
|
* Add 'eunit-compile' cmd (Suggested-by: Joe Norton)Tuncer Ayaz2012-07-232-60/+81
|
* Do not use application:set_envTuncer Ayaz2012-07-2317-290/+321
|
* Restore old reltool vsn checkTuncer Ayaz2012-07-221-14/+15
| | | | | reltool is missing an app resource file before R14A. Therefore, restore the old check and add TODO.
* Fix Dialyzer warningTuncer Ayaz2012-07-211-1/+1
|
* Use a more appropriate method to check reltool's vsnUlf Wiger2012-07-211-13/+14
| | | | | | | | | | | | | | | | If running e.g. rebar generate using an OTP development build, rebar will complain that reltool has the version "", which is less than the required "0.5.2". This is because rebar_reltool simply checks the path returned by code:which(reltool), which doesn't yield version information if used in a development build. This patch substitutes a more robust method (load reltool and fetch the info from application:loaded_applications()). As it happens, this will not be enough to make things work, but now Reltool will explain that it cannot generate a spec from a system that is not installed, giving a better hint as to what needs to be done.
* Do not keep eunit configTuncer Ayaz2012-07-131-5/+5
|
* Do not use rebar_config:set_global in rebar_templaterTuncer Ayaz2012-07-131-38/+34
|
* Do not use process dict in rebar_templaterTuncer Ayaz2012-07-131-59/+61
|
* Document rebar_config TODOsTuncer Ayaz2012-07-132-0/+3
|
* Make sure cached setup_envs are resetTuncer Ayaz2012-07-132-4/+11
|
* Remove shared stateTuncer Ayaz2012-07-1316-430/+496
|
* Re-word commentTuncer Ayaz2012-07-121-1/+1
|
* Add missing comment in rebar_erlc_compilerTuncer Ayaz2012-07-121-0/+1
|
* Remove debug logTuncer Ayaz2012-07-111-1/+0
|
* Simplify eunitTuncer Ayaz2012-07-111-7/+7
|
* Use filename:joinTuncer Ayaz2012-07-111-3/+3
|
* Merge pull request #157 from dch/dch-windows-msvc-supportDave Smith2012-07-111-1/+25
|\ | | | | add native Windows compiler support
| * Windows: add native SDK supportDave Cottlehuber2012-06-081-1/+25
| | | | | | | | - compatible with rebar 2.0.0
* | Fix crazy indentation :-)Kresten Krab Thorup2012-07-111-11/+7
| |
* | Allow crypto to already be loaded when starting rebarKresten Krab Thorup2012-07-111-1/+4
| |
* | untabify and add some commentsKresten Krab Thorup2012-07-111-5/+7
| |
* | Initial version of "rebar shell" commandKresten Krab Thorup2012-07-112-1/+62
| | | | | | | | | | | | | | For now, this is just a proof of concept; would make sense to add a lot of things, such as quick access to invoking rebar itself (with approproate code reloading), as well as an eunit-aware version so that tests could be run interactively.
* | Change escriptize archive permissions to a+xFred Hebert2012-07-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | By default, executables in paths such as /bin and /usr/local/bin have the mode saying they can be executed by all. The current version of escriptize only sets u+x, which creates problems when copied directly in repositories and requiring other programs to interact with them. This change makes rebar follow the standard of linuxes and unixes by setting the permission flag to a+x, allowing users, the group and others to execute it.
* | Fix eunit testing of apps that have no erl filesEric B Merritt2012-07-031-0/+2
| | | | | | | | | | | | | | 'Erlang' projects that do not contain any erlang files (Joxa, LFE, Elixir, etc) break the eunit task. It attempts to copy an empty list of source files to the .eunit directory. This change makes copying an empty list a simple no-op.
* | Fix rebar_eunit whitespace issuesTuncer Ayaz2012-07-021-6/+5
| |
* | Clean up rebar_utils exportsTuncer Ayaz2012-07-021-5/+5
| |
* | Move erl_opts/1 and src_dirs/1 to proper placeTuncer Ayaz2012-07-021-20/+20
| |
* | Fix cover crash if src_dirs is not defaultMotiejus Jakštys2012-07-021-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make sure files from erl_opts->src_dirs are copied to .eunit for cover inspection. Without this patch cover failed to find source files which were in src_dirs, and threw the following exception: ERROR: eunit failed while processing /path/to/project: {'EXIT',{{badmatch,{error,no_source_code_found}}, [{rebar_eunit,'-cover_analyze/3-fun-0-',1, [{file,"src/rebar_eunit.erl"},{line,280}]}, {lists,foreach,2,[{file,"lists.erl"},{line,1262}]}, {rebar_eunit,cover_analyze,3, [{file,"src/rebar_eunit.erl"},{line,279}]}, {rebar_eunit,eunit,2,[{file,"src/rebar_eunit.erl"},{line,140}]}, {rebar_core,run_modules,4,[{file,"src/rebar_core.erl"},{line,425}]}, {rebar_core,execute,5,[{file,"src/rebar_core.erl"},{line,359}]}, {rebar_core,process_dir0,6,[{file,"src/rebar_core.erl"},{line,223}]}, {rebar_core,process_dir,4, [{file,"src/rebar_core.erl"},{line,130}]}]}} Now all source files are copied to .eunit.
* | Move erl_opts/1 and src_dirs/1 to rebar_utils.erlMotiejus Jakštys2012-07-022-44/+49
| | | | | | | | These functions will be necessary in rebar_eunit.erl, too.
* | Use lists:foreach because result is ignoredTuncer Ayaz2012-06-301-10/+11
| |
* | Decrease indentation in list-templates printoutTuncer Ayaz2012-06-301-1/+1
| |
* | Fix crash introduced in 4414f65 via pull/245Tuncer Ayaz2012-06-301-2/+2
| |
* | rebar_templater: fix commentTuncer Ayaz2012-06-301-1/+1
| |
* | Use ~p for file:consult/1 {error, Reason} printoutDaniel Luna2012-06-291-1/+1
| |
* | Append os family to arch stringTuncer Ayaz2012-06-231-1/+6
| |
* | rebar_utils: move internal fun to proper placeTuncer Ayaz2012-06-231-33/+33
| |
* | Add missing commentTuncer Ayaz2012-06-211-0/+4
| |
* | Update -c stringTuncer Ayaz2012-06-211-2/+2
| |
* | Fix #252 (Reported-by: Maxim-Vladimirsky)Tuncer Ayaz2012-06-212-27/+20
| |
* | rebar_ct: rename function for clarityTuncer Ayaz2012-06-211-2/+2
| |
* | Add support for errors without line numberYurin Slava2012-06-181-1/+4
| |
* | Fix rebar_eunit commentsTuncer Ayaz2012-06-181-1/+1
| |
* | Use [{File,Bin}, ...] in escriptize zip:createTuncer Ayaz2012-06-171-55/+36
| |
* | Add missing escriptize commentsTuncer Ayaz2012-06-171-1/+2
| |
* | Fix #247 (Reported-by: Uvarov Michael)Tuncer Ayaz2012-06-172-4/+5
| |
* | Remove debug logTuncer Ayaz2012-06-151-1/+0
| |