summaryrefslogtreecommitdiff
path: root/test/rebar_compile_SUITE.erl
Commit message (Collapse)AuthorAgeFilesLines
* Add module directory to include pathLuis Rascao2016-01-261-2/+64
| | | | | | | | | | Several projects use an include path relative to the project's root. file:compile will look in three places for the include files: The current working directory The directory where the module is being compiled The directories given by the include option
* only apply default and prod profile to dependenciesTristan Sloughter2016-01-091-5/+35
|
* remove mib header file in `priv/mibs/include'alisdair sullivan2015-12-081-6/+0
|
* symlink mib hrl output in apps `include' directoriesalisdair sullivan2015-12-061-0/+6
| | | | this restores compatibility with rebar2 and erlang.mk
* Added tests and fixed a bugPhil Toland2015-12-011-4/+10
|
* refactor `rebar_erlc_compiler`alisdair sullivan2015-10-261-73/+560
| | | | | | | | | | | | | | | | | | | * 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
* Revert "add an export to allow specifing arbitrary extra erl files to be ↵alisdair sullivan2015-10-261-30/+1
| | | | | | compiled" This reverts commit 9d82215296205d2d30c152c7d7c6fcb8e4a92443.
* Support proper paths in non-erl first filesFred Hebert2015-10-121-2/+51
| | | | | This passes the directory to the option to ensure it works with more than configs at the root of the project.
* add an export to allow specifing arbitrary extra erl files to be compiledalisdair sullivan2015-09-211-2/+31
| | | | to `rebar_erlc_compiler`
* override 'deps' now automatically overrides '{deps,default}'Tristan Sloughter2015-08-231-2/+42
|
* Add tests for mixed deps installsFred Hebert2015-08-161-1/+2
| | | | | Requires a rework of other test suites using the same dep-handling mechanism.
* add test for clean --allTristan Sloughter2015-07-281-2/+36
|
* do not install profile deps of depsTristan Sloughter2015-07-181-2/+27
|
* only look for top level apps and those directly under apps/ or lib/Tristan Sloughter2015-07-161-4/+4
|
* ensure necessary directories exist to compile mibs filesTristan Sloughter2015-07-061-3/+49
|
* Fixed two tests for windows 8.1 and added touch functionalityDaniel Widgren2015-06-261-3/+5
|
* Adding erl_first_files testFred Hebert2015-06-261-2/+44
| | | | | | The test works by using a parse transform that stamps modules with an attribute as it runs them. It then compiles everything, loads the module, and makes sure the stamps respect the defined order.
* plugins providerTristan Sloughter2015-06-181-132/+1
|
* store plugin providers in app_info's state for depsTristan Sloughter2015-05-281-17/+13
|
* add test for plugin with transitive depsTristan Sloughter2015-05-271-1/+52
|
* install plugins from the global config to ~/.cache/pluginsTristan Sloughter2015-05-171-2/+55
|
* enable parse transformations in rebar configTristan Sloughter2015-04-261-2/+25
|
* track and cleanup code paths for different contextsTristan Sloughter2015-04-211-5/+8
|
* add test for single atom pkg dep picking the highest availableTristan Sloughter2015-04-111-2/+28
|
* rm old beams, make erlcinfo graph per app isntad of global to projectTristan Sloughter2015-04-101-2/+21
|
* test touching a header file causes module recompiledTristan Sloughter2015-04-101-2/+39
|
* test building of deps pluginsTristan Sloughter2015-04-041-2/+34
|
* treat _checkouts as deps that are always compiledTristan Sloughter2015-03-211-3/+124
|
* compile source from the symlinked directories under `_build` toalisdair sullivan2015-03-081-0/+27
| | | | get correct compile paths included in module info
* switch from loading modules to read compile info to using `beam_lib`alisdair sullivan2015-03-051-12/+2
| | | | fixes #216 and #220
* change from post-purging modules after checking their module info toalisdair sullivan2015-03-031-2/+13
| | | | pre-purging before checking to facilitate long do chains
* copy project apps to deps output dir for compilationTristan Sloughter2015-02-281-7/+7
|
* don't unescessarily recompile yrl/xrl filesalisdair sullivan2015-02-221-2/+43
| | | | fixes #175
* check already compiled modules compile arguments against current compilealisdair sullivan2015-02-161-2/+56
| | | | arguments to ensure compile results as as intended
* MORE TESTSFred Hebert2014-12-291-2/+23
|
* Adding tests for checkouts being found & compiledFred Hebert2014-12-291-4/+21
|
* Add release-structured compiling testsFred Hebert2014-12-241-2/+17
|
* Fix up programmatic interface to rebar3Fred Hebert2014-12-211-1/+1
| | | | Now supports arbitrary commands
* Partial fix to circular deps (#40)Fred Hebert2014-12-061-1/+1
| | | | | | | | | - Adding tests - fixing use of set fetching to find repeated deps and prevent infinite loops On a circular loop rebar3 now fails with `{error, no_sort}`, which is uncaught and should be handled to consider the issue fully fixed.
* Initial tests for dependency resolvingFred Hebert2014-12-041-85/+6
| | | | | | | | | | | | | - Reworked the helpers for existing suites and expanded them - Created a mock git resource module to test for its dependency fetching - Added a test suite for dependency resolving with first checks for common cases (https://gist.github.com/ferd/197cc5c0b85aae370436) Left to do would include: - Verify warnings - Verify failures - Verify dependency updates resolving
* start of breaking out test code for ease of checksTristan Sloughter2014-11-291-9/+12
|
* pass command as arg to run_aux for nowTristan Sloughter2014-10-171-1/+1
|
* fix ct test for new command handlingTristan Sloughter2014-09-171-1/+1
|
* update common testsTristan Sloughter2014-09-171-2/+2
|
* change name of suiteTristan Sloughter2014-09-011-0/+113