summaryrefslogtreecommitdiff
path: root/src/rebar_erlc_compiler.erl
Commit message (Collapse)AuthorAgeFilesLines
* ensure necessary directories exist to compile mibs filesTristan Sloughter2015-07-061-2/+5
|
* methods for retrieving `src_dirs` and `extra_src_dirs`alisdair sullivan2015-05-191-2/+1
| | | | | | note that now ALL `src_dirs` across included profiles are compiled. previously only the last included profile's `src_dirs` were used
* Merge pull request #439 from talentdeficit/extra_src_dirsTristan Sloughter2015-05-171-1/+2
|\ | | | | generalize the "test" special dir into an {extra_src_dirs, [...]} option
| * generalize the "test" special dir into an {extra_src_dirs, [...]} optionalisdair sullivan2015-05-161-1/+2
| | | | | | | | | | | | like `src_dirs`, `extra_src_dirs` are directories to be copied to the `_build` dir and compiled. unlike `src_dirs` they are not added to the .app specification
* | remove use of `code:load_abs/1` in favor of `beam_lib:chunks/2` toalisdair sullivan2015-05-161-8/+14
|/ | | | avoid repeated loading and unloading of modules
* enable parse transformations in rebar configTristan Sloughter2015-04-261-6/+27
|
* remove warning if header not found, could be in a macroTristan Sloughter2015-04-231-4/+0
|
* real bootstrappingTristan Sloughter2015-04-221-1/+2
|
* track and cleanup code paths for different contextsTristan Sloughter2015-04-211-2/+0
|
* fix erl_first_files to check entire path of fileTristan Sloughter2015-04-201-3/+4
|
* remove use of lists:droplast, it doesn't exist pre-17Tristan Sloughter2015-04-171-1/+1
|
* Warn on bad use of include_lib but try to find the header anywayTristan Sloughter2015-04-111-19/+33
|
* rm old beams, make erlcinfo graph per app isntad of global to projectTristan Sloughter2015-04-101-13/+33
|
* pass objectfile name to opts_changed instead of recalculatingTristan Sloughter2015-04-101-6/+4
|
* remove comment that doesn't apply to rebar3Tristan Sloughter2015-04-101-1/+0
|
* properly compare list of opts and not against undefinedTristan Sloughter2015-04-101-1/+1
|
* remove unneeded string:tokens for target_baseTristan Sloughter2015-04-091-2/+1
|
* fix process attr for include_lib that is just a filenameTristan Sloughter2015-04-081-22/+22
|
* breakout needs compile check from compile_xrl_yrlTristan Sloughter2015-04-081-1/+4
|
* merge rebar2's Refactor logic and optimizations in ↵Tristan Sloughter2015-04-071-274/+161
| | | | rebar_erlc_compiler:doterl_compile/4 #467
* compile source from the symlinked directories under `_build` toalisdair sullivan2015-03-081-3/+7
| | | | get correct compile paths included in module info
* switch from loading modules to read compile info to using `beam_lib`alisdair sullivan2015-03-051-16/+13
| | | | fixes #216 and #220
* change from post-purging modules after checking their module info toalisdair sullivan2015-03-031-4/+2
| | | | pre-purging before checking to facilitate long do chains
* copy project apps to deps output dir for compilationTristan Sloughter2015-02-281-14/+12
|
* don't unescessarily recompile yrl/xrl filesalisdair sullivan2015-02-221-4/+10
| | | | fixes #175
* consolidate app validation and exist checksTristan Sloughter2015-02-221-1/+1
|
* follow xdg standard. fixes #122Tristan Sloughter2015-02-191-3/+3
|
* purge mods loaded during check to see if they need to be recompiledalisdair sullivan2015-02-171-2/+4
| | | | during compile task before running subsequent tasks
* Merge pull request #157 from talentdeficit/real_needs_recompileTristan Sloughter2015-02-171-9/+26
|\ | | | | check already compiled modules compile arguments against current compile arguments
| * check already compiled modules compile arguments against current compilealisdair sullivan2015-02-161-9/+26
| | | | | | | | arguments to ensure compile results as as intended
* | replace package management with hex.pmTristan Sloughter2015-02-171-8/+2
|/
* Fix #140 and preserve erl_first_files orderMartin Karlsson2015-02-131-5/+20
| | | | | | Match erl_first_files properly against all files needing compilation and make sure the order of erl_first_files as specified in rebar.config is preserved (rebar/rebar#445)
* point compiler to the right config value for which files need to bealisdair sullivan2015-01-011-1/+1
| | | | compiled first
* remove no longer relevant test machinery in rebar_erlc_compileralisdair sullivan2014-12-241-153/+0
|
* move dir functions from utils to new module rebar_dirTristan Sloughter2014-12-011-5/+5
|
* replace rlx_depsolver use with new rebar_digraphTristan Sloughter2014-11-221-2/+69
|
* new dep graph workingTristan Sloughter2014-11-221-77/+2
|
* use CONFIG_DIR of rebar3 for config directoriesTristan Sloughter2014-11-101-1/+1
|
* handle throw by relxTristan Sloughter2014-11-081-7/+7
|
* add eunit task, still work to be doneTristan Sloughter2014-11-051-2/+2
|
* fix find and includefile paths for yrl/xrl filesTristan Sloughter2014-10-191-5/+8
|
* fix clean provider for multi app projectsTristan Sloughter2014-10-121-7/+7
|
* down to last 2 dialyzer errorsTristan Sloughter2014-09-211-1/+1
|
* more dialyzer fun. no likey opaque typesTristan Sloughter2014-09-211-7/+7
|
* remove use of 17+ function lists:droplast/1Tristan Sloughter2014-09-171-1/+1
|
* start of moving to splitting state from config parsingTristan Sloughter2014-08-171-27/+27
|
* large refactoringTristan Sloughter2014-08-161-18/+22
| | | | | | | | Removed separate compilers Resolves apps to build Finds avail deps before pulling/building Includes relx Simplifies build commands
* Fix OS X resource fork handling (Reported-by: Richard O'Keefe)Tuncer Ayaz2014-07-251-6/+10
| | | | | | | | | If you happen to fetch a zip archive of the git repo and try to build from that, you may, for example, ask erlc to build src/._rebar.erl. ._* are OS X resource forks and not real .erl files. This may also happen with network filesystems on OS X. To fix that, limit the files compiled by rebar to include only those which start with a letter or a digit.
* Use correct types for OTP >=17.xTuncer Ayaz2014-06-291-2/+2
|
* Fix a few minor formatting inconsistenciesTuncer Ayaz2014-06-291-2/+2
| | | | | * fix overlong lines * where appropriate use %% instead of %