| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | |
| | | |
| | | |
| | | | |
This patch adds support for short options in the eunit provider.
|
|\ \ \ \
| | | | |
| | | | | |
Run all hooks
|
| | |/ /
| |/| | |
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
Hex improvements
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add more version constraints
Allow for any number of whitespaces after compairison opperator
Improve updating and error printing
Fix failing tests
|
|\ \ \ \
| |/ / /
|/| | | |
add project_providers after initing default providers but allow overrides
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Replicates `erl` behaviour.
|
|\ \ \ \
| |/ / /
| | | | |
give top level plugin providers precedence over default providers
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | | |
Make lock files future-proof
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
|/| | |
Less color
|
| | | |
|
| | | |
|
| | | |
|
| |\ \ |
|
| | | | |
|
| | | | |
|
| | | | |
|
|\ \ \ \
| |_|/ /
|/| | | |
Add secondary hook for rebar_prv_compile
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
erlc_compile, for before/after compiling .erls to
.beams, but before .app.src to .app
|
|\ \ \ \
| | | | |
| | | | | |
Ignore unknown warning when dialyzer < 2.8
|
| |/ / / |
|
|/ / / |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
this ensures the project apps are compiled to `lib/` instead of `extras/`
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|\ \ \
| | | |
| | | | |
add profile option to clean task
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | | |
deduplicate default test set generated by `rebar3 eunit`
|
| | | |
| | | |
| | | |
| | | |
| | | | |
this ONLY attempts to deduplicate test sets that are generated by
rebar in the absence of any user specified tests
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
|\ \ \ \
| |/ / /
|/| | | |
check at runtime instead of compile time for `file:list_dir_all/1`
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
|\ \ \ \
| | | | |
| | | | | |
change detection of valid modules for `eunit`
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
`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
|
|\ \ \ \
| |/ / /
|/| | | |
convert 'app' to 'application' in eunit_opts to match cmdline args
|
| | | | |
|
|/ / /
| | |
| | |
| | | |
into directory test arguments
|
|\ \ \
| | | |
| | | | |
Support old-style shell for rebar3 shell
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|