Fred Hebert
b94afdfa2d
WIP
Test that all the correct locks are set for an upgrade run.
Now to actually re-run the install deps and prove it works
vor 10 Jahren
Fred Hebert
2fd6f43c02
Merge pull request #138 from talentdeficit/args_to_tasks
factor out task/args parsing from `do` for use in other meta commands
vor 10 Jahren
alisdair sullivan
c79d13f5e8
factor out task/args parsing from `do` for use in other meta
commands
vor 10 Jahren
Tristan Sloughter
7298c9f774
Merge pull request #132 from fishcakez/dialyzer_fail
Dialyzer fails if any warnings
vor 10 Jahren
Tristan Sloughter
bf5b1d59c0
Merge pull request #134 from fishcakez/dialyzer_tests
Add dialyzer tests
vor 10 Jahren
Tristan Sloughter
bbda0b2208
Merge pull request #135 from fishcakez/dialyzer_erts_app
Fix dialyzer erts file lookup for releases prior to R16B02
vor 10 Jahren
James Fish
d693093c00
Fix dialyzer erts file lookup for releases prior to R16B02
erts.app was introduced in R16B02 so read all beam files from the erts
ebin directory if erts.app file does not exist.
vor 10 Jahren
James Fish
9a90239e51
Add initial dialyzer tests
vor 10 Jahren
Tristan Sloughter
d0668532a3
Merge pull request #133 from nuex/handle-missing-app-file
Validate .app File Presence
vor 10 Jahren
nuex
79a1c285f0
return an error when an app file is missing
vor 10 Jahren
James Fish
027b0f008b
Fix dialyzer plt checking typo
vor 10 Jahren
James Fish
e533e5d705
Display full path in dialyzer warningss
vor 10 Jahren
James Fish
52319655a5
Fail if any dialyzer warnings aren't unknowns
vor 10 Jahren
Tristan Sloughter
038d721f90
Merge pull request #129 from kellymclaughlin/add-pkgs-to-code-path
Add packages to code path after installation
vor 10 Jahren
Tristan Sloughter
62581cfcc3
Merge pull request #131 from rebar/jem-rebar-deps-tag
Add documentation for {ref, <sha>} syntax rebar.config.sample file
vor 10 Jahren
Jared Morrow
5250b8c9d9
Add documentation for {ref, <sha>} syntax rebar.config.sample file
Addresses: #130
vor 10 Jahren
Kelly McLaughlin
29039bece6
Change mock_pkg_resource to create ebin directory
Change mock_pkg_resource to use rebar_test_utils:create_empty_app so
that an ebin directory is created which is a good expectation for a
package. Also revert the check in rebar_fetch:download_source to check
for an ebin directory before adding it to the code path for package
installs. If a package does not have an ebin directory it is probably
a good for an exception to be thrown.
vor 10 Jahren
Kelly McLaughlin
e3ff657dc2
Ensure package ebin directory exists prior to adding to code path
vor 10 Jahren
Kelly McLaughlin
507281f658
Add packages to code path after installation
Fix a bug where packages are not added to the code path after
installation. Dependent applications that build from source are not
affected by this issue since the build_apps function in
rebar_prv_compiler takes care of the code path changes for them. It is
only the precompiled packages that suffer from this issue.
vor 10 Jahren
Tristan Sloughter
7f9b48d3d7
Merge pull request #128 from kellymclaughlin/multi-app-xref-support
Add xref support for multi-app projects
vor 10 Jahren
Kelly McLaughlin
212655c3ec
Add xref support for multi-app projects
Add xref support for multi-app projects. Instead of only adding the
top-level ebin directory to the xref server use
rebar_state:project_apps/1 to enumerate the applications for the
project and add the ebin directory for each one.
vor 10 Jahren
Tristan Sloughter
4408d8e502
Merge pull request #123 from tsloughter/pkg_deps
package dep names are binary, fix install deps and related tests
vor 10 Jahren
Tristan Sloughter
b11f37e0db
Merge pull request #127 from kellymclaughlin/xref-provider
Add xref provider for cross reference analysis
vor 10 Jahren
Kelly McLaughlin
2abb55170e
Add xref provider for cross reference analysis
* Add a provider for the xref tool for running cross reference
analysis on a project. Most of the code has been ported directly
from the rebar2 rebar_xref module with some modification and cleanup
to support testing.
* Port over the eunit test suite from rebar2, but convert it to
common_test. The testing is the same, but now the
erlang term output is examined to determine if the test run is successful
instead of scanning the console output for the expected strings.
vor 10 Jahren
Tristan Sloughter
d53fb93cc1
package dep names are binary, fix install deps and related tests
vor 10 Jahren
Fred Hebert
d2cfe6a073
Merge pull request #115 from tsloughter/provider_hooks
support for provider_hooks in config
vor 10 Jahren
Tristan Sloughter
c8d0aa46c4
clean up create_logic_providers function
vor 10 Jahren
Tristan Sloughter
6ad9200d79
update erlydtl to latest release
vor 10 Jahren
Tristan Sloughter
1e71b47817
fix find_apps when searching for invalid apps
vor 10 Jahren
Tristan Sloughter
14037aa45f
add hook SUITE tests
vor 10 Jahren
Tristan Sloughter
37b79ff2b7
support for provider_hooks in config
vor 10 Jahren
Fred Hebert
89d3ef6e0d
Merge pull request #120 from tsloughter/master
no more mode minimal
vor 10 Jahren
Tristan Sloughter
6450d9c924
no more mode minimal
vor 10 Jahren
Fred Hebert
b2d66eb176
Merge pull request #119 from tsloughter/master
app_info:valid needs to return a boolean and not throw an exception
vor 10 Jahren
Tristan Sloughter
ebcbe0071a
app_info:valid needs to return a boolean and not throw an exception
vor 10 Jahren
Fred Hebert
395be3386b
Merge pull request #118 from tsloughter/master
use processed app file for validation
vor 10 Jahren
Tristan Sloughter
f13804ffab
use processed app file for validation
vor 10 Jahren
Fred Hebert
31eb0402ec
Merge pull request #117 from tsloughter/master
fix typo in error tuple and throw error in install_deps
vor 10 Jahren
Tristan Sloughter
b1e886193d
fix typo in error tuple and throw error in install_deps
vor 10 Jahren
Fred Hebert
8dc39de983
Merge pull request #112 from tsloughter/stuff
Clean up and backwards compatability
vor 10 Jahren
Tristan Sloughter
2c86edab93
refactor rebar_otp_app for smaller/cleaner functions
vor 10 Jahren
Fred Hebert
3bb1f3720e
Merge pull request #114 from tsloughter/lock_dups
check locks before locking a dep to not have duplicates
vor 10 Jahren
Fred Hebert
ea8aafc73d
Merge pull request #113 from tsloughter/emu_args
add emulator args to escript for faster load time
vor 10 Jahren
Tristan Sloughter
ebb713449e
check locks before locking a dep to not have duplicates
vor 10 Jahren
Tristan Sloughter
404c129f3d
add emulator args to escript for faster load time
vor 10 Jahren
Tristan Sloughter
4b7f55f79c
add warning that dep options like raw are being ignored
vor 10 Jahren
Tristan Sloughter
07ec6b68c6
clean up and better error messages when validating apps
vor 10 Jahren
Tristan Sloughter
d5552cfcd3
ignore opts list in src dep is it is there
vor 10 Jahren
Tristan Sloughter
3a7490aa9f
fix for rebar deps dir path in hooks, making it absolute
vor 10 Jahren
Fred Hebert
98ae221265
Merge pull request #111 from tsloughter/test_erl_opts
don't lose erl_opts when compiling for tests
vor 10 Jahren