summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #286 from tsloughter/checkoutsFred Hebert2015-03-234-9/+131
|\ | | | | treat _checkouts as deps that are always compiled
| * treat _checkouts as deps that are always compiledTristan Sloughter2015-03-214-9/+131
| |
* | handle additional errors returned from `getopt:parse/2`alisdair sullivan2015-03-231-0/+54
| |
* | Merge pull request #291 from tsloughter/as_argsFred Hebert2015-03-231-2/+20
|\ \ | | | | | | support args on tasks passed to 'as'
| * | support args on tasks passed to 'as'Tristan Sloughter2015-03-231-2/+20
| |/
* | Merge branch 'kellymclaughlin-dev-mode-release-tests' into ↵Fred Hebert2015-03-232-4/+53
|\ \ | | | | | | | | | fancy-profile-merge-fun
| * | Test cases to exercise the dev_mode release optionKelly McLaughlin2015-03-232-4/+53
| |/ | | | | | | | | | | | | | | | | | | Add one test case to verify the dev_mode option for a release and another to verify overriding the dev_mode option in a profile for a release. Verification of proper dev_mode functioning is done in the rebar_test_utils:check_results/2 function by checking if all the directories in the release lib dir are symlinks or not and comparing that result to the dev_mode expectation passed as input to the check_results function.
* | Preserve profile order on mergeable tuple/optsFred Hebert2015-03-221-2/+9
|/ | | | | | | | | | | Rather than using the stdlib lists:umerge, we expand it to allow fuzzy matching on tuples vs. vals (`key` vs. `{key,val}`) with an overriden sort order so that two tuples or values comparing equal get a priority on the newest profile. This is a partial fix for #287 -- this current patch should be followed by a relx update to take options in order (as if they were a proplist) to complete it.
* update hg username and email match in templatesTristan Sloughter2015-03-171-2/+24
|
* Implement deps conflicts as errorsFred Hebert2015-03-152-13/+52
| | | | | | | | The option {deps_error_on_conflict, true} will make it so conflicts in deps being fetched interrupts the operation rather than just display a warning. Defaults to `false'.
* compile source from the symlinked directories under `_build` toalisdair sullivan2015-03-081-0/+27
| | | | get correct compile paths included in module info
* update erlydtl compiler to output to _build, add simple testTristan Sloughter2015-03-072-0/+75
|
* Fix namespace regressionsFred Hebert2015-03-071-2/+22
| | | | | | | 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.
* parse `rebar3 as foo, bar task` correctlyalisdair sullivan2015-03-061-1/+16
| | | | fixes #238
* Add escriptize provider and a minimal testPierre Fenoll2015-03-061-0/+37
|
* store base opts after initialization of providersTristan Sloughter2015-03-061-4/+16
|
* add test for test profile applied to project appsalisdair sullivan2015-03-051-2/+24
|
* two failing tests and one passing test to attempt to isolate wherealisdair sullivan2015-03-051-2/+48
| | | | | | profiles are failing to be applied relevant to #224 and #233
* Merge pull request #222 from talentdeficit/no_superfluous_loadsTristan Sloughter2015-03-052-15/+5
|\ | | | | 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-15/+5
| | | | | | | | fixes #216 and #220
* | use git or hg configs if exist for default user and email in templatesTristan Sloughter2015-03-051-2/+26
| |
* | test end case cleanupsTristan Sloughter2015-03-052-18/+4
|/
* fix for profiles_remain_applied_with_config_presentTristan Sloughter2015-03-041-3/+25
|
* Merge pull request #210 from talentdeficit/shorter_build_dirsFred Hebert2015-03-031-4/+21
|\ | | | | shorter build dirs
| * name profile directories in `_build` similarly to the argumentsalisdair sullivan2015-03-031-2/+18
| | | | | | | | to `as` used to generate them
| * fix names in `rebar_as_SUITE`alisdair sullivan2015-03-031-3/+4
| |
* | rename `_logs` and `_cover` dirs to `logs` and `cover`, respectivelyalisdair sullivan2015-03-031-5/+5
| |
* | move `_logs` and `_cover` to `_build` diralisdair sullivan2015-03-031-5/+5
|/
* Merge pull request #202 from talentdeficit/coverTristan Sloughter2015-03-033-4/+165
|\ | | | | `cover` task
| * change from post-purging modules after checking their module info toalisdair sullivan2015-03-031-2/+13
| | | | | | | | pre-purging before checking to facilitate long do chains
| * generate cover data (via the `{cover_enabled, true}` option inalisdair sullivan2015-03-031-0/+127
| | | | | | | | | | | | `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
| * `add_to_profile/3` function added to `rebar_state`alisdair sullivan2015-03-021-2/+25
| |
* | `as` delegates task handling to `do` provideralisdair sullivan2015-03-021-0/+88
|/
* Merge pull request #187 from tsloughter/profiles_dirTristan Sloughter2015-03-023-21/+23
|\ | | | | make base_dir for a run include the profiles in path, link to shared dep
| * copy project apps to deps output dir for compilationTristan Sloughter2015-02-283-18/+20
| |
| * make base_dir for a run include the profiles in path, link to shared depsTristan Sloughter2015-02-281-3/+3
| |
* | Some free tests from a debugging sessionFred Hebert2015-03-021-0/+33
| | | | | | | | The session was unfruitful, but I guess the tests were not necessarily
* | don't replace non-string list with empty list in profile mergeTristan Sloughter2015-03-021-2/+10
|/
* profiles: combine lists of values for conflicting config optionsTristan Sloughter2015-02-242-3/+21
|
* Add tests and fixes for packages upgradesFred Hebert2015-02-233-8/+20
| | | | | | | | | | - 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-233-98/+20
|
* Merge pull request #174 from tsloughter/profile_testsFred Hebert2015-02-233-46/+128
|\ | | | | basic profile deps tests
| * basic profile deps testsTristan Sloughter2015-02-223-46/+128
| |
* | don't unescessarily recompile yrl/xrl filesalisdair sullivan2015-02-221-2/+43
|/ | | | fixes #175
* Merge pull request #167 from tsloughter/release_testsFred Hebert2015-02-222-0/+76
|\ | | | | release and tar tests
| * fix test, remove use of filelib:wildcard for R15 supportTristan Sloughter2015-02-221-2/+2
| |
| * release and tar testsTristan Sloughter2015-02-222-0/+76
| |
* | Merge pull request #166 from tsloughter/xdgFred Hebert2015-02-212-4/+4
|\ \ | |/ |/| follow xdg standard. fixes #122
| * fix order of top_level_deps function in ugprade_SUITETristan Sloughter2015-02-191-3/+3
| |
| * follow xdg standard. fixes #122Tristan Sloughter2015-02-191-1/+1
| |