summaryrefslogtreecommitdiff
path: root/src/rebar_app_discover.erl
Commit message (Collapse)AuthorAgeFilesLines
* reset hooks under profiles for application optsTristan Sloughter2017-06-021-9/+24
|
* Fix detection of src_dirs in unknown apps/depsFred Hebert2017-02-231-11/+49
| | | | | First find the rebar.config file, and if any data is found, check for src_dirs config. If nothing is there or no app is found, default to src/
* For convenience add appinfo default src_dir lookupFred Hebert2017-02-191-1/+5
| | | | This makes rebar_prv_install_deps able to support more src_dir configs
* Add respect for src_dirs option in app_discoverFred Hebert2017-02-191-29/+52
| | | | | This lets people who use custom directories layout without leaving the .app.src in src/ to still see their app build.
* Fix Alisdair's review, add more types and docsFred Hebert2016-12-161-2/+4
|
* Type specifications and edocs improvementsFred Hebert2016-11-271-4/+77
| | | | | | Includes improvments and function documentation for all modules (in alphabetical order) up to rebar_core, and may have included more in other modules as I saw fit to dig and understand more of the internals.
* handle case that upgraded app no longer has .app.src fileTristan Sloughter2015-09-201-1/+2
|
* hooks/artifacts are always run/resolved from an app unless at top of umbrellaTristan Sloughter2015-09-061-12/+15
|
* move otp version verification to a single app_info functionTristan Sloughter2015-09-011-2/+2
|
* move opts functions to new module rebar_optsTristan Sloughter2015-09-011-1/+1
|
* remove overrides element from state recordTristan Sloughter2015-09-011-1/+1
|
* more cleanupTristan Sloughter2015-08-311-11/+11
|
* more cleanup of old state usageTristan Sloughter2015-08-311-23/+20
|
* fixes for overrides of depsTristan Sloughter2015-08-311-1/+0
|
* build on already created AppInfo instead of having to do copyTristan Sloughter2015-08-311-26/+32
|
* remove state record from app_info recordTristan Sloughter2015-08-311-2/+1
|
* wip: move state into app_infoTristan Sloughter2015-08-311-1/+2
|
* simplify package dep parsing and handlingTristan Sloughter2015-08-251-1/+1
|
* don't store deps list with duplicate in stateTristan Sloughter2015-08-221-4/+6
|
* this patch treats pkg and src deps as equals, so level decides winnerTristan Sloughter2015-08-211-9/+9
| | | | | | | | 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.
* small refactorings per Fred commentsTristan Sloughter2015-08-171-9/+13
|
* use correct rebar_state for a dep, not the top level stateTristan Sloughter2015-08-161-3/+4
|
* handle new tests for mix package types (git/pkg)Tristan Sloughter2015-08-161-2/+4
|
* track the parent of umbrella app dependenciesTristan Sloughter2015-08-161-11/+56
|
* fix dialyzer warnings, except 'no local return' warningsTristan Sloughter2015-08-081-10/+5
|
* add tree option to deps command that prints pkg deps treeTristan Sloughter2015-08-031-6/+1
|
* include app.src.script in app discover and always use if availableTristan Sloughter2015-07-261-6/+18
|
* add support for old format otp versionsTristan Sloughter2015-07-251-0/+4
|
* only look for top level apps and those directly under apps/ or lib/Tristan Sloughter2015-07-161-10/+2
|
* Read and process .app.src.script if presentGarret Smith2015-06-301-1/+1
|
* add config option artifactsTristan Sloughter2015-06-021-16/+17
|
* Add rebar.config 'excluded_apps' key.Jean Parpaillon2015-05-231-7/+20
| | | | | | Listed applications are simply ignored. Allows for configuration time sub-application building.
* add additional commentsTristan Sloughter2015-05-221-0/+3
|
* read in app information after fetch so we have the depsTristan Sloughter2015-05-221-3/+4
|
* fall back to .app.src file if .app file fails to parseTristan Sloughter2015-05-221-53/+58
|
* print and format error message for bad .app files and all bad configsTristan Sloughter2015-05-221-19/+15
|
* Properly reset hooks for single-app projectViacheslav V. Kovalev2015-05-211-2/+2
|
* Manage syntax error in app.src files.Umberto Corponi2015-05-061-4/+9
| | | | | - Solve "Uncaught error" failure in case of syntax error in app.src file. - Print helpful information on the location of the syntax error.
* don't duplicate hooks for top level appTristan Sloughter2015-04-191-2/+24
|
* include applications list in compile sortTristan Sloughter2015-04-151-1/+6
|
* support single atoms for pkg deps, fetch highest version availableTristan Sloughter2015-04-111-4/+5
|
* Avoid duplicating deps in discover phaseFred Hebert2015-03-151-1/+8
| | | | | | | | | 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.
* add comment about resetting optsTristan Sloughter2015-03-061-0/+2
|
* store base opts after initialization of providersTristan Sloughter2015-03-061-4/+3
|
* apply profiles and overrides for an app's opts to the base optsTristan Sloughter2015-03-051-2/+2
|
* fix for profiles_remain_applied_with_config_presentTristan Sloughter2015-03-041-9/+15
|
* copy project apps to deps output dir for compilationTristan Sloughter2015-02-281-2/+6
|
* consolidate app validation and exist checksTristan Sloughter2015-02-221-48/+3
|
* sort project apps before merging depsTristan Sloughter2015-02-191-1/+3
|
* use project sub-apps with deps in their rebar.configTristan Sloughter2015-02-171-2/+19
|