Tristan Sloughter
d0668532a3
Merge pull request #133 from nuex/handle-missing-app-file
Validate .app File Presence
pirms 10 gadiem
nuex
79a1c285f0
return an error when an app file is missing
pirms 10 gadiem
James Fish
027b0f008b
Fix dialyzer plt checking typo
pirms 10 gadiem
James Fish
e533e5d705
Display full path in dialyzer warningss
pirms 10 gadiem
James Fish
52319655a5
Fail if any dialyzer warnings aren't unknowns
pirms 10 gadiem
Tristan Sloughter
038d721f90
Merge pull request #129 from kellymclaughlin/add-pkgs-to-code-path
Add packages to code path after installation
pirms 10 gadiem
Tristan Sloughter
62581cfcc3
Merge pull request #131 from rebar/jem-rebar-deps-tag
Add documentation for {ref, <sha>} syntax rebar.config.sample file
pirms 10 gadiem
Jared Morrow
5250b8c9d9
Add documentation for {ref, <sha>} syntax rebar.config.sample file
Addresses: #130
pirms 10 gadiem
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.
pirms 10 gadiem
Kelly McLaughlin
e3ff657dc2
Ensure package ebin directory exists prior to adding to code path
pirms 10 gadiem
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.
pirms 10 gadiem
Tristan Sloughter
7f9b48d3d7
Merge pull request #128 from kellymclaughlin/multi-app-xref-support
Add xref support for multi-app projects
pirms 10 gadiem
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.
pirms 10 gadiem
Tristan Sloughter
4408d8e502
Merge pull request #123 from tsloughter/pkg_deps
package dep names are binary, fix install deps and related tests
pirms 10 gadiem
Tristan Sloughter
b11f37e0db
Merge pull request #127 from kellymclaughlin/xref-provider
Add xref provider for cross reference analysis
pirms 10 gadiem
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.
pirms 10 gadiem
Tristan Sloughter
d53fb93cc1
package dep names are binary, fix install deps and related tests
pirms 10 gadiem
Fred Hebert
d2cfe6a073
Merge pull request #115 from tsloughter/provider_hooks
support for provider_hooks in config
pirms 10 gadiem
Tristan Sloughter
c8d0aa46c4
clean up create_logic_providers function
pirms 10 gadiem
Tristan Sloughter
6ad9200d79
update erlydtl to latest release
pirms 10 gadiem
Tristan Sloughter
1e71b47817
fix find_apps when searching for invalid apps
pirms 10 gadiem
Tristan Sloughter
14037aa45f
add hook SUITE tests
pirms 10 gadiem
Tristan Sloughter
37b79ff2b7
support for provider_hooks in config
pirms 10 gadiem
Fred Hebert
89d3ef6e0d
Merge pull request #120 from tsloughter/master
no more mode minimal
pirms 10 gadiem
Tristan Sloughter
6450d9c924
no more mode minimal
pirms 10 gadiem
Fred Hebert
b2d66eb176
Merge pull request #119 from tsloughter/master
app_info:valid needs to return a boolean and not throw an exception
pirms 10 gadiem
Tristan Sloughter
ebcbe0071a
app_info:valid needs to return a boolean and not throw an exception
pirms 10 gadiem
Fred Hebert
395be3386b
Merge pull request #118 from tsloughter/master
use processed app file for validation
pirms 10 gadiem
Tristan Sloughter
f13804ffab
use processed app file for validation
pirms 10 gadiem
Fred Hebert
31eb0402ec
Merge pull request #117 from tsloughter/master
fix typo in error tuple and throw error in install_deps
pirms 10 gadiem
Tristan Sloughter
b1e886193d
fix typo in error tuple and throw error in install_deps
pirms 10 gadiem
Fred Hebert
8dc39de983
Merge pull request #112 from tsloughter/stuff
Clean up and backwards compatability
pirms 10 gadiem
Tristan Sloughter
2c86edab93
refactor rebar_otp_app for smaller/cleaner functions
pirms 10 gadiem
Fred Hebert
3bb1f3720e
Merge pull request #114 from tsloughter/lock_dups
check locks before locking a dep to not have duplicates
pirms 10 gadiem
Fred Hebert
ea8aafc73d
Merge pull request #113 from tsloughter/emu_args
add emulator args to escript for faster load time
pirms 10 gadiem
Tristan Sloughter
ebb713449e
check locks before locking a dep to not have duplicates
pirms 10 gadiem
Tristan Sloughter
404c129f3d
add emulator args to escript for faster load time
pirms 10 gadiem
Tristan Sloughter
4b7f55f79c
add warning that dep options like raw are being ignored
pirms 10 gadiem
Tristan Sloughter
07ec6b68c6
clean up and better error messages when validating apps
pirms 10 gadiem
Tristan Sloughter
d5552cfcd3
ignore opts list in src dep is it is there
pirms 10 gadiem
Tristan Sloughter
3a7490aa9f
fix for rebar deps dir path in hooks, making it absolute
pirms 10 gadiem
Fred Hebert
98ae221265
Merge pull request #111 from tsloughter/test_erl_opts
don't lose erl_opts when compiling for tests
pirms 10 gadiem
Tristan Sloughter
0533f9dddc
don't lose erl_opts when compiling for tests
pirms 10 gadiem
Fred Hebert
bca0d1f91d
Merge pull request #109 from tsloughter/error_dep_parsing
Error dep parsing
pirms 10 gadiem
Tristan Sloughter
d1902404dc
error message for failing to parse a dep
pirms 10 gadiem
Tristan Sloughter
daf346a4d0
remove extra newline in clean
pirms 10 gadiem
Tristan Sloughter
488d70d2f2
Merge pull request #101 from talentdeficit/file_utils
generalize some temporary directory handling and add it to `rebar_file_utils`
pirms 10 gadiem
alisdair sullivan
f94108e164
fix `reset_dir` test suite for r15x
swap `file:list_dir` for `file:list_dir_all` due to nonexistence of latter prior to r16x
pirms 10 gadiem
Fred Hebert
5528007751
Merge pull request #105 from tsloughter/master
do provider returns the error of the first provider to fail and stops
pirms 10 gadiem
Tristan Sloughter
fe4a10141b
do provider returns the error of the first provider to fail and stops
pirms 10 gadiem