summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* patch testsTristan Sloughter2015-05-141-6/+0
|
* More package management testsFred Hebert2015-05-131-12/+125
|
* Proper custom pkg index support, some testsFred Hebert2015-05-134-0/+100
| | | | | | | | | | - The rebar package index files have been moved off the default path and will require a new `rebar3 update` - Caching of downloaded packages automatically takes place in a path relative to the CDN used - The cache path is not shared with hex as we now write and modify data in there arbitrarily - Basic tests plus the working set for more of them is included
* Update mock so existing tests passFred Hebert2015-05-131-3/+8
|
* Merge pull request #409 from talentdeficit/ct_fixTristan Sloughter2015-05-091-2/+34
|\ | | | | delete all symlinks when copying from project files to `_build` tree to prevent any data from being overwritten
| * delete all symlinks when copying from project files to `_build` treealisdair sullivan2015-05-091-2/+34
| | | | | | | | | | | | to prevent any data from being overwritten fixes #395
* | Adding directory path test for deduplicationFred Hebert2015-05-041-0/+18
| |
* | Merge branch 'app-discover-profile-duplication' of ↵Fred Hebert2015-05-041-0/+132
|\ \ | | | | | | | | | https://github.com/kovyl2404/rebar3 into kovyl2404-app-discover-profile-duplication
| * \ Merge branch 'master' into app-discover-profile-duplicationViacheslav V. Kovalev2015-05-0110-24/+235
| |\ \ | | | | | | | | | | | | | | | | Conflicts: test/rebar_profiles_SUITE.erl
| | * | don't load package registry unless there are pkg deps to solveTristan Sloughter2015-04-282-3/+3
| | | |
| * | | Revert accidentially changed formattingViacheslav V. Kovalev2015-04-221-3/+2
| | | |
| * | | Get rid of rebar_utils:tup_umerge/2 patchingViacheslav Kovalev2015-04-221-13/+3
| | | |
| * | | Implement opts umerge deduplicationViacheslav Kovalev2015-04-222-22/+55
| | | |
| * | | Implement some test on profiles deduplicationViacheslav V. Kovalev2015-04-222-2/+113
| | |/ | |/|
* | | Merge pull request #379 from tsloughter/rm_erlydtlFred Hebert2015-05-011-72/+0
|\ \ \ | | | | | | | | Remove erlydtl and replace with mustache
| * | | remove use of erlydtl in rebarTristan Sloughter2015-04-291-72/+0
| | |/ | |/|
* | | enable parse transformations in rebar configTristan Sloughter2015-04-263-5/+28
|/ /
* | handle transitive deps being promotedFred Hebert2015-04-241-2/+13
| |
* | R15 support, replace unsetenv with putenv empty stringTristan Sloughter2015-04-221-1/+1
| |
* | fix tracking of all profiles dep pathsTristan Sloughter2015-04-221-2/+37
| |
* | real bootstrappingTristan Sloughter2015-04-222-7/+7
| |
* | Merge pull request #354 from tsloughter/track_code_pathTristan Sloughter2015-04-224-11/+20
|\ \ | | | | | | Track code path
| * | track and cleanup code paths for different contextsTristan Sloughter2015-04-214-11/+20
| | |
* | | Symlink existing default deps when in new profileFred Hebert2015-04-221-0/+14
|/ / | | | | | | Should fix #360
* | Add support for an unlock commandFred Hebert2015-04-182-0/+80
| | | | | | | | | | Allows to remove entries from the lock file, or the lock file as a whole.
* | Default deps always to the default profileFred Hebert2015-04-171-2/+65
|/ | | | | | | | | | | | | | | | When fetching dependencies for the first time using a profile (`rebar3 as prod release` or `rebar3 ct`), the dependencies get fetched into the non-default profile. This has two consequences: - the files get re-downloaded on follow-up runs - the lock file includes incomplete or too many deps in its list This patch forces dependencies in the default profile to be stored in _build/default/lib even when running under other profiles, then symlinks them to the correct one. This makes it so common dependencies in 'default' be downloaded there and avoids re-downloading them. Should also fix the lock issues.
* add test for single atom pkg dep picking the highest availableTristan Sloughter2015-04-112-3/+44
|
* rm old beams, make erlcinfo graph per app isntad of global to projectTristan Sloughter2015-04-101-2/+21
|
* test touching a header file causes module recompiledTristan Sloughter2015-04-101-2/+39
|
* move resource modules list to rebar_state, no longer staticTristan Sloughter2015-04-041-2/+6
|
* test building of deps pluginsTristan Sloughter2015-04-043-3/+51
|
* modify `ct` provider to copy selected directories and compile themalisdair sullivan2015-04-031-0/+520
| | | | | | alongside their source (ie, if `some_tests` is a directory that contains test suites beams resulting from compiling them will be placed in `some_tests` in the appropriate `_build` directory
* Merge pull request #310 from ferd/do-namespacesFred Hebert2015-04-031-1/+37
|\ | | | | Support namespace resolution in 'do' provider
| * Support namespace resolution in 'do' providerFred Hebert2015-04-031-1/+37
| |
* | execute `cover` task as `test` profile and write generated dataalisdair sullivan2015-03-251-11/+11
|/ | | | to the appropriate `_build` dir
* filter checkapps via `rebar_app_info:is_checkout` rather thanalisdair sullivan2015-03-241-2/+22
| | | | matching directory paths
* add `--app=...` and `--suite=...` options for the eunit provider toalisdair sullivan2015-03-241-2/+196
| | | | run subsets of test suites
* add a more direct way to generate an `eunitized` test app toalisdair sullivan2015-03-243-16/+181
| | | | test utils and add better eunit tests
* Merge branch 'eunit-with-test-profile-test-case' of ↵Fred Hebert2015-03-231-2/+14
|\ | | | | | | https://github.com/kellymclaughlin/rebar3 into kellymclaughlin-eunit-with-test-profile-test-case
| * Add test case to eunit test suiteKelly McLaughlin2015-03-231-2/+14
| | | | | | | | Add test case to exercise the eunit provider using the test profile
* | 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'.