Tristan Sloughter
8421d5ce81
handle case that upgraded app no longer has .app.src file
9 年之前
Tristan Sloughter
cfd4beb99d
hooks/artifacts are always run/resolved from an app unless at top of umbrella
9 年之前
Tristan Sloughter
a81444ae1c
move otp version verification to a single app_info function
9 年之前
Tristan Sloughter
d034f40c38
move opts functions to new module rebar_opts
9 年之前
Tristan Sloughter
b2c051452e
remove overrides element from state record
9 年之前
Tristan Sloughter
e6f6ccc757
more cleanup
9 年之前
Tristan Sloughter
c7a7b309fd
more cleanup of old state usage
9 年之前
Tristan Sloughter
a6ca5d5e25
fixes for overrides of deps
9 年之前
Tristan Sloughter
32d07ec076
build on already created AppInfo instead of having to do copy
9 年之前
Tristan Sloughter
f209ccc2b8
remove state record from app_info record
9 年之前
Tristan Sloughter
98752aab93
wip: move state into app_info
9 年之前
Tristan Sloughter
0a4509f5b0
simplify package dep parsing and handling
9 年之前
Tristan Sloughter
3c92505d49
don't store deps list with duplicate in state
9 年之前
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.
9 年之前
Tristan Sloughter
e941e170e4
small refactorings per Fred comments
9 年之前
Tristan Sloughter
ad463398dc
use correct rebar_state for a dep, not the top level state
9 年之前
Tristan Sloughter
073dbb71ec
handle new tests for mix package types (git/pkg)
9 年之前
Tristan Sloughter
cf22c7e941
track the parent of umbrella app dependencies
9 年之前
Tristan Sloughter
6fde1748b9
fix dialyzer warnings, except 'no local return' warnings
9 年之前
Tristan Sloughter
125ff06b74
add tree option to deps command that prints pkg deps tree
10 年之前
Tristan Sloughter
806f7f9219
include app.src.script in app discover and always use if available
10 年之前
Tristan Sloughter
90fbd6dbb9
add support for old format otp versions
10 年之前
Tristan Sloughter
6f95911d32
only look for top level apps and those directly under apps/ or lib/
10 年之前
Garret Smith
f8728fea2d
Read and process .app.src.script if present
10 年之前
Tristan Sloughter
a3ce939ec5
add config option artifacts
10 年之前
Jean Parpaillon
7ff23a63dc
Add rebar.config 'excluded_apps' key.
Listed applications are simply ignored.
Allows for configuration time sub-application building.
10 年之前
Tristan Sloughter
e45c67b023
add additional comments
10 年之前
Tristan Sloughter
37ac2b7833
read in app information after fetch so we have the deps
10 年之前
Tristan Sloughter
958213def7
fall back to .app.src file if .app file fails to parse
10 年之前
Tristan Sloughter
8528204431
print and format error message for bad .app files and all bad configs
10 年之前
Viacheslav V. Kovalev
efd2445c74
Properly reset hooks for single-app project
10 年之前
Umberto Corponi
291e0de2fe
Manage syntax error in app.src files.
- Solve "Uncaught error" failure in case of syntax error in app.src file.
- Print helpful information on the location of the syntax error.
10 年之前
Tristan Sloughter
2667dbdd0b
don't duplicate hooks for top level app
10 年之前
Tristan Sloughter
f82874de58
include applications list in compile sort
10 年之前
Tristan Sloughter
d75ba02671
support single atoms for pkg deps, fetch highest version available
10 年之前
Fred Hebert
bc98ea22aa
Avoid duplicating deps in discover phase
The deps are sorted and merged, but the merge function merges lists, not
elements. This yields deps that are duplicated and ran for multiple
times.
We first add proper sorts so the keymerge is guaranteed to be fine, and
then do a dedup run to get rid of duplicates if they happen to be.
10 年之前
Tristan Sloughter
0399b0eeb3
add comment about resetting opts
10 年之前
Tristan Sloughter
0638c85634
store base opts after initialization of providers
10 年之前
Tristan Sloughter
7f508c30a1
apply profiles and overrides for an app's opts to the base opts
10 年之前
Tristan Sloughter
4a2996a756
fix for profiles_remain_applied_with_config_present
10 年之前
Tristan Sloughter
ae9c83fb4b
copy project apps to deps output dir for compilation
10 年之前
Tristan Sloughter
8f03afded4
consolidate app validation and exist checks
10 年之前
Tristan Sloughter
8874e414a8
sort project apps before merging deps
10 年之前
Tristan Sloughter
be49c5cd44
use project sub-apps with deps in their rebar.config
10 年之前
Tristan Sloughter
1e71b47817
fix find_apps when searching for invalid apps
10 年之前
Tristan Sloughter
f13804ffab
use processed app file for validation
10 年之前
Tristan Sloughter
b1e886193d
fix typo in error tuple and throw error in install_deps
10 年之前
Tristan Sloughter
07ec6b68c6
clean up and better error messages when validating apps
10 年之前
Tristan Sloughter
0fc8e97292
only read in rebar config and lock of dep if needed
10 年之前
Tristan Sloughter
8e5c916cb6
move dir functions from utils to new module rebar_dir
10 年之前