| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| | |
Bare compiler: support multiple paths wildcards.
|
|/
|
|
|
|
|
|
|
| |
Similarly to PATH env variable, this allows to pass paths to bare
compiler which do not fit nicely into a single wildcard structure.
Colon (":") is used as separator.
This provides more flexibility when rebar is run in offline/hermetic
environment, e.g. #958 and #1281.
|
|\
| |
| | |
Rebar3 shell supports booting applications with type 'none'
|
|/
|
|
|
|
|
|
|
|
|
|
| |
I noticed this when trying to include entop in a release. Entop uses
cecho which takes over the terminal, so you do not want it loaded or
started. According to http://erlang.org/doc/man/rel.html, when you
specify a Type of none it should not load or start, but the code for
it's modules should be loaded. This patch ensures the code is not
loaded or started, but doesn't do anything with the code paths.
At the very least this allows me to start a shell in the case where
I have an application of type none, and the application is neither
loaded nor started.
|
|\
| |
| | |
Prevent xref crashes with undef behaviours
|
|/
|
|
|
|
|
|
|
| |
When a given behaviour module does not exist, rebar3 brutally crashes.
This patch makes it so instead, there is a warning output menitoning the
missing behaviour, and this one is omitted from the unused function
calls check. This means that unused calls will instead be shown for the
module implementing a non-existing behaviour, as if no behaviour were
declared in the first place.
|
|\
| |
| | |
the new added PATH value should be in the first position, in case the…
|
|/
|
|
| |
other same name cmd
|
|\
| |
| | |
Fix xref compile hook on deps
|
|/
|
|
|
|
|
|
|
|
|
| |
If xref analysis is being run by a dependency during its compilation
phase, the xref provider will try to add that deps' parents to the check
job while the ebin/ directories for them do not exist. This causes a
crash.
This patch makes it so directories are only added if they are existing,
preventing failure on any compile hook for dependencies and allowing
successful compilation as a best effort.
|
|\
| |
| | |
reset hooks under profiles for application opts
|
| | |
|
|\ \
| |/
|/| |
Avoid reversing relx overlays.
|
|/
|
|
|
| |
This mostly moves a lists:reverse/1 which ensures that profile overlays
are run first but keeps the order of overlays otherwise.
|
| |
|
|
|
|
|
|
| |
Includes Relx fixes
Signed-off-by: Fred Hebert <mononcqc@ferd.ca>
|
|\
| |
| | |
upgrade relx to 3.23.0
|
|/ |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Patches:
- Try to start epmd when distribution fails
- Allow non-default profile deps upgrade
- Switch default license in templates to Apache 2.0, and hook it up in
the .app file
- Fix git SHA comparisons for dep update
- Let relx know about rebar-specified erl_opts
- Use rm_rf instead of ec_file:delete, fixing some deps-related issues
on Windows
- Handle internal CT failures
- Fix profile merging of erl_first_files options
- Fix CT output in skipped test cases and failing end of function
hooks
- Officially drop R15 support, since its SSL libs can no longer talk
to hex.pm
- REBAR_COLOR supports all ec_cmd_log intensity options, allowing the
none value to disable all colors without dropping termcap support
- Bump relx to 3.22.4
The one new feature supported here is for the interactive shell:
- Support commands in the shell such as r3:Command(),
r3:Command("--args=as a string"), or r3:Command(Namespace, "--args=as a
string"), instead of just r3:do(Command).
|
|\
| |
| | |
Try to start epmd when distribution fails
|
|/
|
|
|
| |
We do it by calling os:cmd on a named shell so that the automated daemon
rules work for rebar3 as well.
|
|\
| |
| | |
Allow profile deps upgrade
|
| |
| |
| |
| |
| |
| | |
Prevents showing false upgrade messages when upgrading in a non-default
profile. Also shows an info message explaining default deps don't get
updated in a non-default upgrade.
|
| | |
|
| |
| |
| |
| |
| |
| | |
Only happens when calling `rebar3 as <profiles> upgrade <dep>`, with the
caveat that all profile deps get upgraded and lined up with the rebar
config.
|
|\ \
| | |
| | | |
Match template license app to default license, switch default to Apache 2.0
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The default license created with rebar3 templates is a BSD 3 clause
license. However the .app.src file generated do not include the license
there.
This adds the license type, fixing #1447.
|
|\ \ \
| | | |
| | | | |
Fix git SHAs comparison for update.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
86e883b8d8d1d16487e245fff02eba8c83da2cdd always returns the full length SHA,
therefore when using a dependency having the short SHA,
it'll always consider that the SHAs are different,
hence it'll alway return true for .
|
|\ \ \ \
| | | | |
| | | | | |
Let relx know about application erl opts
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This is so that some of them can be enforced
(such as warnings_as_errors) on relx's task like
generating a release or a release upgrade.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Use rm_rf instead of ec_file:delete.
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
In contrast to `ec_file:delete`, `rebar_file_utils:rm_rf` will also delete
write-protected files on Windows which is needed for git object files.
Fixes #1483.
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
Run Travis tests on latest OTP19.3
|
|/ / / / |
|
|\ \ \ \
| |_|/ /
|/| | | |
Bump cth_readable to 1.2.6
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This fixes the output of end_per_testcase crash notifications when the
test passes.
This also detect an issue of the kind with rebar_pkg_SUITE which is now
fixed.
|
|\ \ \
| | | |
| | | | |
Handle internal CT failures
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is based on issue #1517 where out of nowhere, CT has returned a
user's error code directly. This in turn caused a crashdump in rebar3
itself.
This patch handles the unexpected cases by:
a) not trying to format them
b) converting them to an error whenever they happen
The execution flow is still interrupted, but we should fail with a
clearer error than a crashdump.
|
|\ \ \
| |_|/
|/| | |
Issue #1416: Merge erl_files_first separately and avoid sorting.
|
| | | |
|
|/ /
| |
| |
| |
| |
| | |
The order of the files listed in "erl_files_first" option is
important and should not be sorted. By handling the merge
similarly to mib_files_first, the sort order is preserved.
|
|\ \
| | |
| | | |
Adds support for new ct hook callback
|
|/ / |
|
|\ \
| | |
| | | |
Drop R15 support
|
|/ /
| |
| |
| |
| |
| | |
It can't even fetch packages from Hex anymore because of old SSL/TLS
libraries, and so it can't bootstrap anymore either. Plus R20 comes out
soon, and 5 major versions is quite enough.
|
|\ \
| | |
| | | |
REBAR_COLOR supports all ec_cmd_log intensity options
|