summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Add short-options to the eunit provider.Alexander Færøy2016-02-281-4/+4
| | | | This patch adds support for short options in the eunit provider.
* Merge pull request #1091 from tsloughter/all_hooksFred Hebert2016-02-284-9/+16
|\ | | | | Run all hooks
| * in providers that don't run per app run all available hooksTristan Sloughter2016-02-284-9/+16
| |
* | fix auto-registry update to work even when not a locked pkg-vsnTristan Sloughter2016-02-281-7/+32
|/
* Merge pull request #1070 from project-fifo/hex-improvementsTristan Sloughter2016-02-242-23/+139
|\ | | | | Hex improvements
| * Add more hex rules so they don't throw errorsHeinz N. Gies2016-02-222-23/+139
| | | | | | | | | | | | | | | | | | | | Add more version constraints Allow for any number of whitespaces after compairison opperator Improve updating and error printing Fix failing tests
* | Merge pull request #1075 from tsloughter/plugin_overrideFred Hebert2016-02-223-11/+23
|\ \ | |/ |/| add project_providers after initing default providers but allow overrides
| * add project_providers after initing default providers but allow overridesTristan Sloughter2016-02-223-11/+23
| |
* | Support --setcookie optionFred Hebert2016-02-211-2/+14
| | | | | | | | Replicates `erl` behaviour.
* | Merge pull request #1065 from tsloughter/plugin_precedenceFred Hebert2016-02-213-8/+21
|\ \ | |/ | | give top level plugin providers precedence over default providers
| * give new opt project_plugins providers precedence over default providersTristan Sloughter2016-02-203-8/+21
| |
* | Merge pull request #1061 from ferd/future-proof-lockfilesTristan Sloughter2016-02-215-17/+49
|\ \ | |/ |/| Make lock files future-proof
| * Make lock files future-proofFred Hebert2016-02-165-17/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes to how hex or packages may work in the future will necessarily bring changes to the format of lock files. This commit adds an optional framing for future lock files of the form: {Version, LockList}. <Whatever consultable attributes> This format is supported such as the LockList is the current lockfile contents, and will never have more information than it currently does. Attributes can be whatever and are currently undefined. Rebar copies will be able to: - Keep using the core locklist (which avoids breaking the last year or so of community libraries using rebar3) - Warn when it runs an outdated copy in comparison to the lock file - Automatically rewrite lock files in the format it supports - Augment or parse files in a version-specific manner. This changes the usage interface slightly, but is backwards *and* forwards compatible.
* | break up do/1 function in install_deps to make upgrade less confusingTristan Sloughter2016-02-192-3/+7
| |
* | set default color intensity to highTristan Sloughter2016-02-191-1/+1
| |
* | Merge pull request #902 from project-fifo/less-colorTristan Sloughter2016-02-162-1/+28
|\ \ | |/ |/| Less color
| * Set relx color intensity env variableHeinz N. Gies2016-02-161-0/+2
| |
| * Use an app_env to get color intensityHeinz N. Gies2016-02-161-7/+17
| |
| * Some cleanupHeinz N. Gies2016-02-091-8/+11
| |
| * Merge masterHeinz N. Gies2016-02-0832-798/+2242
| |\
| * | Allow switching based on env variableHeinz N. Gies2015-11-041-1/+10
| | |
| * | Fixed error log formatingHeinz N. Gies2015-11-011-1/+1
| | |
| * | Make output a bit more discreteHeinz N. Gies2015-11-011-1/+4
| | |
* | | Merge pull request #1048 from fauxsoup/masterTristan Sloughter2016-02-111-7/+14
|\ \ \ | |_|/ |/| | Add secondary hook for rebar_prv_compile
| * | Include hook for app compilationZachary Hueras2016-02-091-4/+7
| | |
| * | Add secondary hook for rebar_prv_compileZachary Hueras2016-02-021-7/+11
| | | | | | | | | | | | | | | erlc_compile, for before/after compiling .erls to .beams, but before .app.src to .app
* | | Merge pull request #1047 from fishcakez/dialyzer_unknownTristan Sloughter2016-02-051-1/+22
|\ \ \ | | | | | | | | Ignore unknown warning when dialyzer < 2.8
| * | | Ignore unknown warning when dialyzer < 2.8James Fish2016-02-021-1/+22
| |/ /
* | | check top level config for minimum or blacklisted otps at startTristan Sloughter2016-02-031-0/+3
|/ /
* | add user-agent to http request headersTristan Sloughter2016-02-013-3/+8
| |
* | don't lose overrides in an app when installing plugins it uses'Tristan Sloughter2016-01-311-4/+14
| |
* | fix paths for multiple app projects when running ct with no --dir argumentalisdair sullivan2016-01-301-7/+13
| |
* | don't strip the project apps when running `ct` with just a root suite specifiedalisdair sullivan2016-01-301-2/+3
| | | | | | | | this ensures the project apps are compiled to `lib/` instead of `extras/`
* | Add module directory to include pathLuis Rascao2016-01-261-2/+3
| | | | | | | | | | | | | | | | | | | | Several projects use an include path relative to the project's root. file:compile will look in three places for the include files: The current working directory The directory where the module is being compiled The directories given by the include option
* | Merge pull request #1031 from tsloughter/masterFred Hebert2016-01-241-11/+15
|\ \ | | | | | | add profile option to clean task
| * | add profile option to clean taskTristan Sloughter2016-01-231-11/+15
| | |
* | | Merge pull request #1024 from talentdeficit/dedupe_eunit_default_testsTristan Sloughter2016-01-231-10/+39
|\ \ \ | |/ / |/| | deduplicate default test set generated by `rebar3 eunit`
| * | deduplicate default test set generated by `rebar3 eunit`alisdair sullivan2016-01-171-10/+39
| | | | | | | | | | | | | | | this ONLY attempts to deduplicate test sets that are generated by rebar in the absence of any user specified tests
* | | move unstable install and upgrade to local namespaceTristan Sloughter2016-01-222-2/+2
| | |
* | | add support for setting erl vm args with REBAR3_ERL_ARGSTristan Sloughter2016-01-221-1/+1
| | |
* | | Display error message when bad config is loadedFred Hebert2016-01-171-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a bad configuration file is submitted to rebar3 shell, display the following error: ===> The configuration file submitted could not be read and will be ignored. And keep going otherwise rather than silently failing. While crash-fast is usually a good mechanism, the shell so far is very tolerant of failures from apps to boot and whatnot, so this feels appropriate. Fixes #1019
* | | Merge pull request #1017 from talentdeficit/runtime_version_checkFred Hebert2016-01-171-5/+8
|\ \ \ | |/ / |/| | check at runtime instead of compile time for `file:list_dir_all/1`
| * | check at runtime instead of compile time for presence of `file:list_dir_all/1`alisdair sullivan2016-01-131-5/+8
| | | | | | | | | | | | | | | | | | this is slower than the compile time check but i guess packaging rebars with repos is still a thing and i think only the eunit and ct providers call it anyways
* | | Merge pull request #1018 from talentdeficit/cover_what_are_you_doooooingFred Hebert2016-01-161-4/+3
|\ \ \ | | | | | | | | change detection of valid modules for `eunit`
| * | | change detection of valid modules for `eunit`alisdair sullivan2016-01-131-4/+3
| |/ / | | | | | | | | | | | | | | | | | | `beam_lib:chunks(..)` needs a path to object code which, frustratingly, `code:which/1` won't return for cover compiled modules. instead just assume that if `code:which/1` doesn't return `non_existing` a module is something we can run tests on
* | | Merge pull request #1021 from tsloughter/masterTristan Sloughter2016-01-151-1/+2
|\ \ \ | |/ / |/| | convert 'app' to 'application' in eunit_opts to match cmdline args
| * | convert 'app' to 'application' in eunit_opts to match cmdline argsTristan Sloughter2016-01-151-1/+2
| | |
* | | when using the `--file' argument to `eunit' paths were being convertedalisdair sullivan2016-01-121-9/+20
|/ / | | | | | | into directory test arguments
* | Merge pull request #995 from ferd/fix-old-shellTristan Sloughter2016-01-102-3/+790
|\ \ | | | | | | Support old-style shell for rebar3 shell
| * | Correct TTY type detectionFred Hebert2016-01-061-17/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reuses the trick used within OTP to pick within old and new shell. The 'user' structure is the same for all cases (escript, escript + dumb TERM, unstable install, unstable install + dumb TERM), so we take it down first. Then we boot the TTY driver, which fails if TERM=dumb, in which case we boot the retro-style usr. If it worked, we shut down the driver again, and boot a modern shell structure. This avoids all warnings and seems to work in all cases.