Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add support for an unlock command | Fred Hebert | 2015-04-18 | 2 | -0/+80 |
| | | | | | Allows to remove entries from the lock file, or the lock file as a whole. | ||||
* | Default deps always to the default profile | Fred Hebert | 2015-04-17 | 1 | -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 available | Tristan Sloughter | 2015-04-11 | 2 | -3/+44 |
| | |||||
* | rm old beams, make erlcinfo graph per app isntad of global to project | Tristan Sloughter | 2015-04-10 | 1 | -2/+21 |
| | |||||
* | test touching a header file causes module recompiled | Tristan Sloughter | 2015-04-10 | 1 | -2/+39 |
| | |||||
* | move resource modules list to rebar_state, no longer static | Tristan Sloughter | 2015-04-04 | 1 | -2/+6 |
| | |||||
* | test building of deps plugins | Tristan Sloughter | 2015-04-04 | 3 | -3/+51 |
| | |||||
* | modify `ct` provider to copy selected directories and compile them | alisdair sullivan | 2015-04-03 | 1 | -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-namespaces | Fred Hebert | 2015-04-03 | 1 | -1/+37 |
|\ | | | | | Support namespace resolution in 'do' provider | ||||
| * | Support namespace resolution in 'do' provider | Fred Hebert | 2015-04-03 | 1 | -1/+37 |
| | | |||||
* | | execute `cover` task as `test` profile and write generated data | alisdair sullivan | 2015-03-25 | 1 | -11/+11 |
|/ | | | | to the appropriate `_build` dir | ||||
* | filter checkapps via `rebar_app_info:is_checkout` rather than | alisdair sullivan | 2015-03-24 | 1 | -2/+22 |
| | | | | matching directory paths | ||||
* | add `--app=...` and `--suite=...` options for the eunit provider to | alisdair sullivan | 2015-03-24 | 1 | -2/+196 |
| | | | | run subsets of test suites | ||||
* | add a more direct way to generate an `eunitized` test app to | alisdair sullivan | 2015-03-24 | 3 | -16/+181 |
| | | | | test utils and add better eunit tests | ||||
* | Merge branch 'eunit-with-test-profile-test-case' of ↵ | Fred Hebert | 2015-03-23 | 1 | -2/+14 |
|\ | | | | | | | https://github.com/kellymclaughlin/rebar3 into kellymclaughlin-eunit-with-test-profile-test-case | ||||
| * | Add test case to eunit test suite | Kelly McLaughlin | 2015-03-23 | 1 | -2/+14 |
| | | | | | | | | Add test case to exercise the eunit provider using the test profile | ||||
* | | Merge pull request #286 from tsloughter/checkouts | Fred Hebert | 2015-03-23 | 4 | -9/+131 |
|\ \ | |/ |/| | treat _checkouts as deps that are always compiled | ||||
| * | treat _checkouts as deps that are always compiled | Tristan Sloughter | 2015-03-21 | 4 | -9/+131 |
| | | |||||
* | | handle additional errors returned from `getopt:parse/2` | alisdair sullivan | 2015-03-23 | 1 | -0/+54 |
| | | |||||
* | | Merge pull request #291 from tsloughter/as_args | Fred Hebert | 2015-03-23 | 1 | -2/+20 |
|\ \ | | | | | | | support args on tasks passed to 'as' | ||||
| * | | support args on tasks passed to 'as' | Tristan Sloughter | 2015-03-23 | 1 | -2/+20 |
| |/ | |||||
* | | Merge branch 'kellymclaughlin-dev-mode-release-tests' into ↵ | Fred Hebert | 2015-03-23 | 2 | -4/+53 |
|\ \ | | | | | | | | | | fancy-profile-merge-fun | ||||
| * | | Test cases to exercise the dev_mode release option | Kelly McLaughlin | 2015-03-23 | 2 | -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/opts | Fred Hebert | 2015-03-22 | 1 | -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 templates | Tristan Sloughter | 2015-03-17 | 1 | -2/+24 |
| | |||||
* | Implement deps conflicts as errors | Fred Hebert | 2015-03-15 | 2 | -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` to | alisdair sullivan | 2015-03-08 | 1 | -0/+27 |
| | | | | get correct compile paths included in module info | ||||
* | update erlydtl compiler to output to _build, add simple test | Tristan Sloughter | 2015-03-07 | 2 | -0/+75 |
| | |||||
* | Fix namespace regressions | Fred Hebert | 2015-03-07 | 1 | -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` correctly | alisdair sullivan | 2015-03-06 | 1 | -1/+16 |
| | | | | fixes #238 | ||||
* | Add escriptize provider and a minimal test | Pierre Fenoll | 2015-03-06 | 1 | -0/+37 |
| | |||||
* | store base opts after initialization of providers | Tristan Sloughter | 2015-03-06 | 1 | -4/+16 |
| | |||||
* | add test for test profile applied to project apps | alisdair sullivan | 2015-03-05 | 1 | -2/+24 |
| | |||||
* | two failing tests and one passing test to attempt to isolate where | alisdair sullivan | 2015-03-05 | 1 | -2/+48 |
| | | | | | | profiles are failing to be applied relevant to #224 and #233 | ||||
* | Merge pull request #222 from talentdeficit/no_superfluous_loads | Tristan Sloughter | 2015-03-05 | 2 | -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 sullivan | 2015-03-05 | 2 | -15/+5 |
| | | | | | | | | fixes #216 and #220 | ||||
* | | use git or hg configs if exist for default user and email in templates | Tristan Sloughter | 2015-03-05 | 1 | -2/+26 |
| | | |||||
* | | test end case cleanups | Tristan Sloughter | 2015-03-05 | 2 | -18/+4 |
|/ | |||||
* | fix for profiles_remain_applied_with_config_present | Tristan Sloughter | 2015-03-04 | 1 | -3/+25 |
| | |||||
* | Merge pull request #210 from talentdeficit/shorter_build_dirs | Fred Hebert | 2015-03-03 | 1 | -4/+21 |
|\ | | | | | shorter build dirs | ||||
| * | name profile directories in `_build` similarly to the arguments | alisdair sullivan | 2015-03-03 | 1 | -2/+18 |
| | | | | | | | | to `as` used to generate them | ||||
| * | fix names in `rebar_as_SUITE` | alisdair sullivan | 2015-03-03 | 1 | -3/+4 |
| | | |||||
* | | rename `_logs` and `_cover` dirs to `logs` and `cover`, respectively | alisdair sullivan | 2015-03-03 | 1 | -5/+5 |
| | | |||||
* | | move `_logs` and `_cover` to `_build` dir | alisdair sullivan | 2015-03-03 | 1 | -5/+5 |
|/ | |||||
* | Merge pull request #202 from talentdeficit/cover | Tristan Sloughter | 2015-03-03 | 3 | -4/+165 |
|\ | | | | | `cover` task | ||||
| * | change from post-purging modules after checking their module info to | alisdair sullivan | 2015-03-03 | 1 | -2/+13 |
| | | | | | | | | pre-purging before checking to facilitate long do chains | ||||
| * | generate cover data (via the `{cover_enabled, true}` option in | alisdair sullivan | 2015-03-03 | 1 | -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 sullivan | 2015-03-02 | 1 | -2/+25 |
| | | |||||
* | | `as` delegates task handling to `do` provider | alisdair sullivan | 2015-03-02 | 1 | -0/+88 |
|/ | |||||
* | Merge pull request #187 from tsloughter/profiles_dir | Tristan Sloughter | 2015-03-02 | 3 | -21/+23 |
|\ | | | | | make base_dir for a run include the profiles in path, link to shared dep |