summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | `as` delegates task handling to `do` provideralisdair sullivan2015-03-023-15/+40
|/
* Merge pull request #187 from tsloughter/profiles_dirTristan Sloughter2015-03-0216-67/+160
|\ | | | | make base_dir for a run include the profiles in path, link to shared dep
| * include test dir in symlinksTristan Sloughter2015-03-011-1/+1
| |
| * fix compile/3 call in common_test providerTristan Sloughter2015-03-011-1/+1
| |
| * copy all files from ebin to build output ebin if existsTristan Sloughter2015-02-281-7/+8
| |
| * use same symlink or copy function for deps linksTristan Sloughter2015-02-281-1/+1
| |
| * update compile call from common test provider with new outdirTristan Sloughter2015-02-281-1/+2
| |
| * use relative path on non-windows and copy if link failsTristan Sloughter2015-02-283-5/+36
| |
| * include link to src in outdir for R15 cover/xrefTristan Sloughter2015-02-281-1/+2
| |
| * output proper error message for missing app fileTristan Sloughter2015-02-281-3/+10
| |
| * copy project apps to deps output dir for compilationTristan Sloughter2015-02-2811-55/+93
| |
| * make base_dir for a run include the profiles in path, link to shared depsTristan Sloughter2015-02-284-4/+18
| |
* | don't replace non-string list with empty list in profile mergeTristan Sloughter2015-03-021-0/+7
|/
* reset state between tasks run with `do` so `rebar do foo, bar, baz`alisdair sullivan2015-02-251-2/+2
| | | | | | has the same outcome as `rebar3 foo && rebar3 bar && rebar3 baz` fixes #191
* Merge pull request #188 from ferd/fix-env-var-expansionTristan Sloughter2015-02-251-1/+1
|\ | | | | Port env var expension fix from rebar2
| * Port env var expension fix from rebar2Fred Hebert2015-02-251-1/+1
| | | | | | | | See https://github.com/rebar/rebar/pull/458
* | Merge pull request #189 from tsloughter/edocFred Hebert2015-02-252-0/+49
|\ \ | | | | | | add edoc provider
| * | add edoc providerTristan Sloughter2015-02-252-0/+49
| |/
* | Merge pull request #183 from ferd/hg-resourceTristan Sloughter2015-02-252-1/+123
|\ \ | |/ |/| Support mercurial (hg) dependencies
| * Support mercurial (hg) dependenciesFred Hebert2015-02-252-1/+123
| |
* | remove old info function from install_deps, it is a bare providerTristan Sloughter2015-02-251-35/+2
| |
* | Fix crash on non-git source deps in deps providerFred Hebert2015-02-251-1/+1
|/ | | | The 'element(1, ..)' guard would always fail and cause crashes.
* profiles: combine lists of values for conflicting config optionsTristan Sloughter2015-02-241-3/+1
|
* We can use 3.0.0 when we're done.Fred Hebert2015-02-241-1/+1
|
* Revert accidental commited debug codeFred Hebert2015-02-241-2/+1
|
* Add tests and fixes for packages upgradesFred Hebert2015-02-233-18/+29
| | | | | | | | | | - Track level of packages properly, they're not level 0 anymore (this could yield an issue where a src dep takes precedence over a pkg dep) - Proper stable sort of vertices in the digraph module - PkgDeps no longer 'see themselves' when fetching and upgrading after locking themselves - Pkg Locks are added to pkg deps rather than source deps - Updating test cases to support pkg mocking on top of src mocking
* Reuse test code and drop duplicated stuffFred Hebert2015-02-231-1/+1
|
* Fix lock merging for nonexistant lock files.Fred Hebert2015-02-231-0/+5
|
* output hook stdout and don't add extra newlineTristan Sloughter2015-02-232-2/+3
|
* don't unescessarily recompile yrl/xrl filesalisdair sullivan2015-02-221-4/+10
| | | | fixes #175
* don't attempt to merge locks when there are no dependenciesalisdair sullivan2015-02-221-1/+1
| | | | fixes #172
* Merge pull request #167 from tsloughter/release_testsFred Hebert2015-02-223-9/+18
|\ | | | | release and tar tests
| * release and tar testsTristan Sloughter2015-02-223-9/+18
| |
* | remove unneeded get_modules_list functionTristan Sloughter2015-02-221-17/+6
| |
* | consolidate app validation and exist checksTristan Sloughter2015-02-228-199/+100
| |
* | Reindent multiline assignmentFred Hebert2015-02-221-11/+11
| |
* | Pass in newer state referenceFred Hebert2015-02-221-2/+1
| | | | | | | | Old one might have been a mistake; this one works fine.
* | Refactor install depsFred Hebert2015-02-221-118/+132
| | | | | | | | | | | | - Make functions shorter - Unnest some functions - Split up and give names to major conditional branches