summaryrefslogtreecommitdiff
path: root/test/rebar_file_utils_SUITE.erl
Commit message (Collapse)AuthorAgeFilesLines
* refactor `rebar_erlc_compiler`alisdair sullivan2015-10-261-3/+3
| | | | | | | | | | | | | | | | | | | * 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
* fix canonical path tests on windowsalisdair sullivan2015-09-251-2/+2
|
* function name changes:alisdair sullivan2015-09-141-18/+18
| | | | | `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-2/+22
| | | | add tests
* fix `reset_dir` test suite for r15xalisdair sullivan2015-01-181-3/+3
| | | swap `file:list_dir` for `file:list_dir_all` due to nonexistence of latter prior to r16x
* add functions `system_tmpdir/0,1` and `reset_dir/1`alisdair sullivan2015-01-151-0/+86
(in `rebar_file_utils`)