summaryrefslogtreecommitdiff
path: root/src/rebar_dir.erl
Commit message (Collapse)AuthorAgeFilesLines
* Read env var REBAR_CACHE_DIR on rebar3 only onceFrancisco Rojas2016-04-061-8/+2
| | | | | Instead of reading every time that rebar_dir:global_cache_dir/1 is called
* Add spec for global_cache_dirFrancisco Rojas2016-03-171-0/+1
|
* Allows overwrite default cache dir using REBAR_CACHE_DIRFrancisco Rojas2016-03-151-2/+8
| | | | | Allows overwrite the default cache directory using the environment variable REBAR_CACHE_DIR.
* Fix wrong relative path resolutionschutm2015-12-101-1/+30
|
* dedup `src_dirs` and `extra_src_dirs` on readalisdair sullivan2015-10-301-3/+3
|
* function name changes:alisdair sullivan2015-09-141-6/+6
| | | | | `reduce_path/1` -> `canonical_path/1` `relative_path/2` -> `path_from_ancestor/2`
* extract `retarget_path/2', `relative_path/2' and `reduce_path/1' andalisdair sullivan2015-09-131-1/+28
| | | | add tests
* hooks/artifacts are always run/resolved from an app unless at top of umbrellaTristan Sloughter2015-09-061-9/+9
|
* move opts functions to new module rebar_optsTristan Sloughter2015-09-011-4/+4
|
* build on already created AppInfo instead of having to do copyTristan Sloughter2015-08-311-17/+17
|
* wip: move state into app_infoTristan Sloughter2015-08-311-16/+16
|
* Fix common test run duplication on windowsViacheslav Kovalev2015-06-261-1/+5
|
* plugins providerTristan Sloughter2015-06-181-1/+1
|
* allow `src_dirs` and `extra_src_dirs` at the root of the rebar configalisdair sullivan2015-05-301-2/+2
|
* don't lose global plugin providersTristan Sloughter2015-05-211-1/+1
|
* methods for retrieving `src_dirs` and `extra_src_dirs`alisdair sullivan2015-05-191-1/+36
| | | | | | note that now ALL `src_dirs` across included profiles are compiled. previously only the last included profile's `src_dirs` were used
* install plugins from the global config to ~/.cache/pluginsTristan Sloughter2015-05-171-6/+7
|
* Merge branch 'master' into app-discover-profile-duplicationViacheslav V. Kovalev2015-05-011-2/+8
|\ | | | | | | | | Conflicts: test/rebar_profiles_SUITE.erl
| * don't duplicate hooks for top level appTristan Sloughter2015-04-191-1/+2
| |
| * Default deps always to the default profileFred Hebert2015-04-171-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When fetching dependencies for the first time using a profile (`rebar3 as prod release` or `rebar3 ct`), the dependencies get fetched into the non-default profile. This has two consequences: - the files get re-downloaded on follow-up runs - the lock file includes incomplete or too many deps in its list This patch forces dependencies in the default profile to be stored in _build/default/lib even when running under other profiles, then symlinks them to the correct one. This makes it so common dependencies in 'default' be downloaded there and avoids re-downloading them. Should also fix the lock issues.
* | Correctly deduplicate profiles when applyingViacheslav V. Kovalev2015-04-211-1/+1
|/ | | | | Conflicts: src/rebar_state.erl
* rm old beams, make erlcinfo graph per app isntad of global to projectTristan Sloughter2015-04-101-3/+3
|
* treat _checkouts as deps that are always compiledTristan Sloughter2015-03-211-0/+13
|
* name profile directories in `_build` similarly to the argumentsalisdair sullivan2015-03-031-1/+6
| | | | to `as` used to generate them
* use relative path on non-windows and copy if link failsTristan Sloughter2015-02-281-1/+11
|
* copy project apps to deps output dir for compilationTristan Sloughter2015-02-281-11/+0
|
* make base_dir for a run include the profiles in path, link to shared depsTristan Sloughter2015-02-281-1/+4
|
* follow xdg standard. fixes #122Tristan Sloughter2015-02-191-13/+26
|
* rewrite profilesTristan Sloughter2014-12-161-28/+7
|
* change name of config for where project apps lib to project_apps_dirTristan Sloughter2014-12-041-1/+1
|
* add rebar_dirTristan Sloughter2014-12-021-0/+104