Tristan Sloughter
d034f40c38
move opts functions to new module rebar_opts
pirms 9 gadiem
Tristan Sloughter
8e25a45cbb
update use of hooks and plugins with state in app_info
pirms 9 gadiem
Tristan Sloughter
32d07ec076
build on already created AppInfo instead of having to do copy
pirms 9 gadiem
Tristan Sloughter
f209ccc2b8
remove state record from app_info record
pirms 9 gadiem
Tristan Sloughter
98752aab93
wip: move state into app_info
pirms 9 gadiem
Tristan Sloughter
0a4509f5b0
simplify package dep parsing and handling
pirms 9 gadiem
Tristan Sloughter
31a24ad4ff
this patch treats pkg and src deps as equals, so level decides winner
Instead fetching and resolving src deps (which could depend on pkg deps)
and then pkg deps this patch combines the two into a single set of
iterations by level. The only difference between src and pkg deps in this
new install_deps is how their deps list is found -- from the config or
lock file for src deps and from the neighbors of the vertex for pkg.
pirms 9 gadiem
Tristan Sloughter
be4ae19fec
track parent app of deps and add tree provider to display the relations
pirms 9 gadiem
Tristan Sloughter
806f7f9219
include app.src.script in app discover and always use if available
pirms 9 gadiem
Tristan Sloughter
a3ce939ec5
add config option artifacts
pirms 10 gadiem
Tristan Sloughter
8a50331898
move handling of undefined app state to function
pirms 10 gadiem
Tristan Sloughter
be79d41093
have .app.src take precedence over .app file
pirms 10 gadiem
Tristan Sloughter
8528204431
print and format error message for bad .app files and all bad configs
pirms 10 gadiem
Tristan Sloughter
9cfef9c011
only update, when not in explicit upgrade, locks if out of date
pirms 10 gadiem
Tristan Sloughter
164cff4063
read in application details into app_info after fetch
pirms 10 gadiem
Tristan Sloughter
26161bc1ac
support for 18.0+
pirms 10 gadiem
Tristan Sloughter
5e58823fd6
treat _checkouts as deps that are always compiled
pirms 10 gadiem
James Fish
447fb1a02e
Fix dialyzer warnings
pirms 10 gadiem
Tristan Sloughter
ae9c83fb4b
copy project apps to deps output dir for compilation
pirms 10 gadiem
Tristan Sloughter
8f03afded4
consolidate app validation and exist checks
pirms 10 gadiem
Tristan Sloughter
410e2bcdec
replace package management with hex.pm
pirms 10 gadiem
Tristan Sloughter
1e71b47817
fix find_apps when searching for invalid apps
pirms 10 gadiem
Tristan Sloughter
ebcbe0071a
app_info:valid needs to return a boolean and not throw an exception
pirms 10 gadiem
Tristan Sloughter
407362c074
replace single profile atom in providers with list of profiles
pirms 10 gadiem
Tristan Sloughter
d1692efdf5
overrides working except for transitive dep inheritance with lock file
pirms 10 gadiem
Tristan Sloughter
3219a666f4
rewrite profiles
pirms 10 gadiem
Tristan Sloughter
293c1b8e6e
add applications field to app_info to track all deps of an application
pirms 10 gadiem
Tristan Sloughter
26892b9d41
wip: upgrade pkg deps
pirms 10 gadiem
Tristan Sloughter
21cf46ff9c
dialyzer fixes
pirms 10 gadiem
Tristan Sloughter
ffe8924f3b
fixed up a few unknown types
pirms 10 gadiem
Tristan Sloughter
1854276fb5
down to last 2 dialyzer errors
pirms 10 gadiem
Tristan Sloughter
6356112cbb
more dialyzer fun. no likey opaque types
pirms 10 gadiem
Tristan Sloughter
e1b1152b21
slowly widdling away at dialyzer errors
pirms 10 gadiem
Tristan Sloughter
c8772ff398
wip: updating handling of src deps to include level in lock
pirms 10 gadiem
Tristan Sloughter
4ed688f0dd
fix bug compiling app with no .app.src
pirms 10 gadiem
Tristan Sloughter
6c50d0a566
fix fetch and build
pirms 10 gadiem
Tristan Sloughter
8c5f312d90
only build invalid (not built) source deps and project apps
pirms 10 gadiem
Tristan Sloughter
b8785e6541
add first test
pirms 10 gadiem
Tristan Sloughter
21f4743861
remove more code that can be brought back later if needed
pirms 10 gadiem
Tristan Sloughter
ac0d726bb8
wip: reworking deps fetching/sorting
pirms 10 gadiem
Tristan Sloughter
901cea4671
quick and dirty fix for proper dep compilatoin order
pirms 10 gadiem
Tristan Sloughter
4b31a20a61
improved dep handling and add package list task
pirms 10 gadiem
Tristan Sloughter
070689632b
only build unbuilt deps
pirms 10 gadiem
Tristan Sloughter
5735c538b9
add rebar update provider
pirms 10 gadiem
Tristan Sloughter
eb8fa02df7
large refactoring
Removed separate compilers
Resolves apps to build
Finds avail deps before pulling/building
Includes relx
Simplifies build commands
pirms 10 gadiem