summaryrefslogtreecommitdiff
path: root/test/rebar_src_dirs_SUITE.erl
Commit message (Collapse)AuthorAgeFilesLines
* Fix default .app.src file for rebar_app_infoFred Hebert2017-02-241-6/+23
| | | | | | | The finding of the file was done based on an assumed 'src' path which may not be correct. This patch instead replaces the value with a lookup in configured paths and returns the first that matches to an existing file.
* Fix detection of src_dirs in unknown apps/depsFred Hebert2017-02-231-2/+38
| | | | | 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/
* Add respect for src_dirs option in app_discoverFred Hebert2017-02-191-3/+38
| | | | | This lets people who use custom directories layout without leaving the .app.src in src/ to still see their app build.
* dedup `src_dirs` and `extra_src_dirs` on readalisdair sullivan2015-10-301-6/+6
|
* refactor `rebar_erlc_compiler`alisdair sullivan2015-10-261-11/+10
| | | | | | | | | | | | | | | | | | | * modify compiler interface to work on either application objects or directories containing source files * compile all sources in `src_dirs` to the application `ebin` dir and all sources in `extra_src_dirs` to a directory mirroring it's position in the app's `_build` directory. for example, `apps/foo/more` would compile to `_build/default/lib/foo/more` for `extra_src_dirs` in the root of a project with multiple applications (so orphan directories that don't "belong" to an application) compile to `_build/default/extras/more` * copy directories specified in `extra_src_dirs` into the `_build` directory so tools like `ct` and `xref` that expect source to be in a particular location still work * clean compiled artifacts from all `extra_src_dirs` * alter `eunit`, `ct` and `cover` to work with the new directory structure * billions of new tests
* wip: move state into app_infoTristan Sloughter2015-08-311-6/+6
|
* only look for top level apps and those directly under apps/ or lib/Tristan Sloughter2015-07-161-6/+6
|
* allow `src_dirs` and `extra_src_dirs` at the root of the rebar configalisdair sullivan2015-05-301-0/+239