Fred Hebert
3cb623d882
Merge pull request #2354 from pablocostass/2119_xref_only_runtime_dependencies
Change xref paths to only those of runtime deps
4年前
Pablo Costas
24c4d78b5f
Update rebar_paths_SUITE with checks for runtime applications
This commit adds new checks in the `set_paths` test case related to
runtime apps and their path handling with the `runtime` target in
`rebar_paths`. These new checks also hope to increase the coverage
of the changes done to the xref provider in this same PR (#2354 ).
This commit also adds some new helper functions to help deal with
future changes related to these new checks (i.e., changes related to
the runtime apps), besides fixing a problem when looking for the
first instace of an app/dep/plugin in the path while testing.
4年前
Fred Hebert
d11ceb4fe9
Merge pull request #2360 from paulo-ferraz-oliveira/feature/alias_in_rebar_config_sample
Add `alias` to example `rebar.config.sample`
4年前
Paulo F. Oliveira
d0c6df26be
Improve readability
4年前
Paulo F. Oliveira
f50bec9e5e
Add `alias` to example `rebar.config.sample`
4年前
Fred Hebert
d5e3255b71
Merge pull request #2357 from pablocostass/update_readme_with_otp_compatibility
Update README with supported Erlang/OTP versions
4年前
Pablo Costas
b1efddafd1
Update README with supported Erlang/OTP versions
4年前
Fred Hebert
024ed3ce2e
Merge pull request #2351 from paulo-ferraz-oliveira/fix/dialyzer_warning_output_for_unknown
Fix `dialyzer` warning output for option `unknown`
4年前
Paulo F. Oliveira
573906513f
Fix output issue (bug) when `dialyzer.warnings.unknown` is used in `rebar.config`
... and e.g. an unknown type is detected
4年前
Pablo Costas
7cb5793492
Fix runtime apps paths
4年前
Fred Hebert
62b97215ae
Merge pull request #2356 from paulo-ferraz-oliveira/feature/xref_ignores_in_rebar_config_sample
Add xref_ignores to sample config file
4年前
Paulo F. Oliveira
c9d14e8dd0
Make existing `rebar.config` option more visible and easier to find
Especially for those that rely on the sample rebar.config from the get-go
4年前
Pablo Costas
a5fc48bc52
Change xref paths to only those of runtime deps
This commit changes mainly the `rebar_paths` module by adding a
new `runtime` target. When using that target, `rebar_paths:get_apps/2`
will, for each project app, find all their `applications` and
`included_applicactions` and filter those that could be found
in rebar3's state.
4年前
Fred Hebert
8bba1c311c
Merge pull request #2353 from pablocostass/2349_fix_empty_lock_regression
Fix lock file not being generated when no deps are present in the config
4年前
Pablo Costas
e65ef19194
Fix lock file not being generated when no deps are present in the config
4年前
Tristan Sloughter
d447e8b948
Merge pull request #2347 from paulo-ferraz-oliveira/fix/rebar3_xref_undefined_functions
Prevent crash when function deemed undefined has no local context
4年前
Paulo F. Oliveira
f12e84a441
Prevent crash when function deemed undefined has no local context
4年前
Fred Hebert
3803f10b27
Merge pull request #2345 from tsloughter/s3-cp-release
use 'aws cp' when copying escript to s3
4年前
Tristan Sloughter
d9a7df73c0
use 'aws cp' when copying escript to s3
4年前
Tristan Sloughter
8c61085376
revert to git version in .app.src
4年前
Tristan Sloughter
7b90fafef2
Merge pull request #2340 from tsloughter/bump-3.14.1
Bump 3.14.1
4年前
Fred Hebert
7e585a3015
Merge pull request #2344 from tsloughter/git-lock-vsn
git lock: abort if version is not equal to or greater than 1.8.5
4年前
Tristan Sloughter
d0ca3cb1da
Merge pull request #2342 from tsloughter/git-subdir-path
require the app name as the last part of git_subdir path
4年前
Tristan Sloughter
9ea61ec81c
git lock: abort if version is not equal to or greater than 1.8.5
4年前
Tristan Sloughter
b14fa55c77
require the app name as the last part of git_subdir path
4年前
Tristan Sloughter
f0333b9a3b
upgrade relx to 4.0.2
4年前
Tristan Sloughter
6c38f4aba0
remove broken github upload release asset job
4年前
Tristan Sloughter
e405787060
bump version to 3.14.1
4年前
Fred Hebert
7224180d80
Merge pull request #2339 from ferd/fix-recursive-behaviour-lookup-regression
Fix Recursive Behaviour Lookup Regression
4年前
Fred Hebert
37396c7f8b
Fix Recursive Behaviour Lookup Regression
This was due to a subtle mistake in the new code in
https://github.com/erlang/rebar3/pull/2322 which optimized the search
behaviour of files not found by EPP. The patch mistakenly always kept
the top-level src/ directory for an app even if it did a lookup in
recursive ones.
This patch tracks and maintains the proper subdirectory hierarchy. To
keep performance adequate, the lists:keyfind/3 function is used, which
is also now a NIF to the same extent as lists:member/2; manual lookups
would likely end up reducing performance, particularly in deep
hierarchies.
A test case has been added to track the regression.
Reported by @elbrujohalcon
4年前
Tristan Sloughter
a6809120ac
revert to git version in .app.src
4年前
Tristan Sloughter
992d8ba833
Merge pull request #2337 from tsloughter/4.0.0
bump version to 3.14.0
4年前
Tristan Sloughter
86f021a942
bump version to 3.14.0
4年前
Tristan Sloughter
390421e1c3
Merge pull request #2331 from ferd/fix-make-tpl
Remove erl_interface from makefile template
4年前
Tristan Sloughter
b2293687ca
Merge pull request #2336 from tsloughter/relx-4.0.0
upgrade relx to 4.0.0
4年前
Tristan Sloughter
763a948d6b
upgrade relx to 4.0.0
4年前
Tristan Sloughter
d7ee6ffe25
Merge pull request #2333 from tsloughter/relx-upgrade-xref
upgrades relx which now checks for undefined functions of project apps
4年前
Tristan Sloughter
f6422f991f
Merge branch 'master' into relx-upgrade-xref
4年前
Tristan Sloughter
68dc4d271b
Merge pull request #2335 from pablocostass/2334_improve_checkout_deps_warnings
Improve warnings about checkout dependencies when locking and upgrading
4年前
Pablo Costas
aecbdcdd44
Add rebar_state:all_checkouts_deps/1 and apply suggestions
4年前
Pablo Costas
c9fa7339bf
Improve warnings about checkout dependencies when locking and upgrading
4年前
Tristan Sloughter
53f9a415be
upgrade relx: add AppType to rlx_app_info:new arguments
4年前
Tristan Sloughter
e903bb9acd
add TODO notes about improving checkouts related errors
4年前
Tristan Sloughter
b7b33fbe8e
add comments to release section of rebar.config template
4年前
Fred Hebert
72895d6387
Remove erl_interface from makefile template
fixes https://github.com/erlang/rebar3/issues/2323
4年前
Fred Hebert
7ccbc0bd86
Merge pull request #2327 from g-andrade/less-incomplete-credits
Add missing credits
4年前
Guilherme Andrade
e03c8f908a
Aggrandize Luís
4年前
Fred Hebert
121965d8b7
Merge pull request #2326 from ferd/fh/update-all-deps
bump dependencies prior to next release
4年前
Fred Hebert
ecde03d730
bump dependencies prior to next release
4年前
Tristan Sloughter
000ac5339a
Merge pull request #2309 from pablocostass/2307_local_commands_delete_applications
Extract rebar3 libs in a version dependent directory when using local commands
4年前