summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* fix debug format to avoid crash with custom templateMariano Guerra2015-03-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | error before: ===> Uncaught error: {'EXIT', {badarg, [{io,format, [<0.23.0>, "\e[0;36m===> Skipping template ~p, due to presence of a custom template at ~s~n~n\e[0m", ["/home/mariano/.config/rebar3/templates/fn_app/fn_app.template"]], []}, {rebar_templater,prioritize_templates,2, [{file,"src/rebar_templater.erl"},{line,330}]}, {rebar_templater,find_templates,1, [{file,"src/rebar_templater.erl"},{line,274}]}, {rebar_templater,new,4, [{file,"src/rebar_templater.erl"},{line,47}]}, {rebar_prv_new,do,1, [{file,"src/rebar_prv_new.erl"},{line,44}]}, {rebar_core,do,2, [{file,"src/rebar_core.erl"},{line,129}]}, {rebar3,main,1, [{file,"src/rebar3.erl"},{line,46}]}, {escript,run,2, [{file,"escript.erl"},{line,752}]}]}}
* templater: return error, don't throw, if git or hg failTristan Sloughter2015-03-081-3/+3
|
* symlink extra test dirs and compile from there instead of fromalisdair sullivan2015-03-083-20/+36
| | | | root project
* compile source from the symlinked directories under `_build` toalisdair sullivan2015-03-084-12/+16
| | | | get correct compile paths included in module info
* don't traverse into subdirectories looking for beamsTristan Sloughter2015-03-071-2/+1
|
* Merge pull request #241 from tsloughter/erlydtlFred Hebert2015-03-073-89/+57
|\ | | | | update erlydtl compiler to output to _build, add simple test
| * update erlydtl compiler to output to _build, add simple testTristan Sloughter2015-03-073-89/+57
| |
* | Bump to alphaFred Hebert2015-03-081-1/+1
|/
* Fix namespace regressionsFred Hebert2015-03-071-4/+34
| | | | | | | This adds some more convolution to command parsing, unfortunately, but makes some cases clearer (`rebar3 as as as as` is no longer valid). It unfortunately disallows using $REBAR_PROFILE along with `as` in a rebar command.
* update all examples in providers to use rebar3Tristan Sloughter2015-03-0716-18/+18
|
* parse `rebar3 as foo, bar task` correctlyalisdair sullivan2015-03-061-8/+12
| | | | fixes #238
* Merge pull request #237 from tsloughter/proper_code_pathFred Hebert2015-03-063-38/+3
|\ | | | | fix code path update for deps
| * fix code path update for depsTristan Sloughter2015-03-063-38/+3
| |
* | Add escriptize provider and a minimal testPierre Fenoll2015-03-062-11/+233
|/
* add comment about resetting optsTristan Sloughter2015-03-061-0/+2
|
* store base opts after initialization of providersTristan Sloughter2015-03-063-7/+10
|
* apply profiles and overrides for an app's opts to the base optsTristan Sloughter2015-03-053-8/+11
|
* Fix handling of ct resultsJames Fish2015-03-051-23/+51
| | | | | | * Return error on failed and/or auto skipped tests * Print all results for quiet repeated tests * Sum results of repeated tests
* Merge pull request #227 from fishcakez/dialyzer_pltTristan Sloughter2015-03-051-20/+3
|\ | | | | Change PLT name and directory
| * Shorten default PLT nameJames Fish2015-03-051-1/+1
| |
| * Fix dialyzer active otp release detectionJames Fish2015-03-051-18/+1
| |
| * Change default project PLT location to base directoryJames Fish2015-03-051-2/+2
| | | | | | | | | | | | Previously dialyzer stored the project PLT in ./build/, which meant the same PLT was used for all profiles. This could mean partial rebuilding of a PLT when switching between profiles.
* | Merge pull request #222 from talentdeficit/no_superfluous_loadsTristan Sloughter2015-03-052-31/+20
|\ \ | | | | | | switch from loading modules to read compile info to using `beam_lib`
| * | switch from loading modules to read compile info to using `beam_lib`alisdair sullivan2015-03-052-31/+20
| |/ | | | | | | fixes #216 and #220
* | Merge pull request #228 from fishcakez/dialyzer_debugFred Hebert2015-03-051-1/+5
|\ \ | | | | | | Add debug statements to dialyzer provider
| * | Add debug statements to dialyzer providerJames Fish2015-03-051-1/+5
| |/
* | use git or hg configs if exist for default user and email in templatesTristan Sloughter2015-03-051-2/+29
|/
* fix for profiles_remain_applied_with_config_presentTristan Sloughter2015-03-042-14/+18
|
* Don't include directories when testing subset of ct suitesJames Fish2015-03-041-7/+50
|
* preserve state when compiling directories with a `rebar.config`alisdair sullivan2015-03-041-5/+4
|
* fix issue where apps with a `rebar.config` were preventingalisdair sullivan2015-03-031-6/+5
| | | | rebar state from propogating appropriately
* include full path in pointer to `ct` outputalisdair sullivan2015-03-031-1/+1
|
* Merge pull request #210 from talentdeficit/shorter_build_dirsFred Hebert2015-03-031-1/+6
|\ | | | | shorter build dirs
| * name profile directories in `_build` similarly to the argumentsalisdair sullivan2015-03-031-1/+6
| | | | | | | | to `as` used to generate them
* | Merge pull request #207 from talentdeficit/move_logs_and_coverTristan Sloughter2015-03-032-3/+3
|\ \ | | | | | | move `_logs` and `_cover` to `_build` dir
| * | rename `_logs` and `_cover` dirs to `logs` and `cover`, respectivelyalisdair sullivan2015-03-032-2/+2
| | |
| * | move `_logs` and `_cover` to `_build` diralisdair sullivan2015-03-032-3/+3
| |/
* | Do not automatically check pltJames Fish2015-03-031-2/+7
|/
* Fix hg diffingFred Hebert2015-03-031-2/+2
| | | | | | - fetch more complete refs for tags (may download more history than required, but it works) - Fix comparison of tag distance by using lists everywhere
* use rebar_utils:sh for git and hg commands to have better errors and logsTristan Sloughter2015-03-033-23/+66
|
* use rebar_file_utils:mv instead of copy for fetched sourceTristan Sloughter2015-03-031-2/+8
|
* Merge pull request #202 from talentdeficit/coverTristan Sloughter2015-03-038-432/+546
|\ | | | | `cover` task
| * change from post-purging modules after checking their module info toalisdair sullivan2015-03-032-8/+10
| | | | | | | | pre-purging before checking to facilitate long do chains
| * erlang r15x (and possibly earlier) don't put the correct path toalisdair sullivan2015-03-031-0/+3
| | | | | | | | | | | | source files in the `compile` key of `module_info/1` so `rebar cover` struggles locating source in some instances. in these cases a warning is printed and crappy coverage info is written rather than none at all
| * print warning if cover can't annotate source and skip filealisdair sullivan2015-03-031-1/+9
| |
| * replace use of `float_to_list/2` for r15xalisdair sullivan2015-03-031-2/+2
| |
| * generate cover data (via the `{cover_enabled, true}` option inalisdair sullivan2015-03-035-267/+364
| | | | | | | | | | | | `rebar.config` or via the `-c\--cover` flag given to the appropriate task) from the `eunit` and `ct` tasks and add a `cover` task to write coverage analysis to disk
| * exclude beams compiled from source in `test` from the .app filealisdair sullivan2015-03-021-4/+22
| |
| * modify `ct` and `eunit` to work with isolated `ebin` dirsalisdair sullivan2015-03-022-159/+139
| |
| * `add_to_profile/3` function added to `rebar_state`alisdair sullivan2015-03-021-2/+8
| |