summaryrefslogtreecommitdiff
path: root/src/rebar_base_compiler.erl
Commit message (Collapse)AuthorAgeFilesLines
* More error loggingmats cronqvist2013-04-121-0/+2
| | | rebar throws away some error messages, e.g. the ones generated if the yecc compiler is broken.
* Merge pull request #327 from saleyn/erlydtl_compilerDave Smith2012-11-101-2/+2
|\ | | | | Erlydtl compiler
| * Specify multiple locations of DTL template filesSerge Aleynikov2012-10-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added a backward compartible feature to specify `erlydtl_opts' options for the DTL template compiler to allow inclusion of templates in different directories with different compilation settings for each. E.g.: {erlydtl_opts, [ [{doc_root, "src/view"}, {module_ext, "_dtl_vw"}] , [{doc_root, "src"}, {module_ext, ""}, {recursive, false}] , {out_dir, "ebin"} , {compiler_options, [verbose, debug_info]} ]}. The definition above is identical to this (the last two options are duplicated in each list): {erlydtl_opts, [ [{doc_root, "src/view"} ,{module_ext, "_dtl_vw"} ,{out_dir, "ebin"} ,{compiler_options, [verbose, debug_info]}] , [{doc_root, "src"} ,{module_ext, ""} ,{out_dir, "ebin"} ,{compiler_options, [verbose, debug_info]} ,{recursive, false}] ]}. In this case "src/view" and "src" directories containing template files will be compiled. A new `recursive' option tells rebar_erlydtl_compiler to search files recursively from a given doc_root. In the example above the "src" directory won't be scanned recursively, and the target template name for target beam modules won't have "_dtl_vw" suffix.
* | Fix rebar_base_compiler:format_errors/3 for errors in include filesMagnus Henoch2012-10-221-9/+11
|/ | | | | | | | | | | | Handle the case where the error didn't occur in the file being compiled. That is, if there is an error on line 9 of bar.hrl, instead of: /path/to/foo.erl:9: type foo() already defined print: /path/to/bar.hrl:9: type foo() already defined
* Only print absolute filename if not in base_dirTuncer Ayaz2012-08-051-14/+19
|
* Fix R13B03 build (Reported-by: Sergey Nartimov)Tuncer Ayaz2012-07-281-3/+3
|
* Do not use application:set_envTuncer Ayaz2012-07-231-1/+1
|
* Add support for errors without line numberYurin Slava2012-06-181-1/+4
|
* Remove gratuitous lists:append/1Tuncer Ayaz2012-06-121-1/+1
|
* Fix error/warning newlines (Reported-by: Tim Watson)Tuncer Ayaz2012-06-121-3/+3
|
* Refactor shared error reporting codeTuncer Ayaz2012-06-111-12/+18
|
* Add support for {Line,Column} in error reportsTuncer Ayaz2012-06-111-1/+4
|
* Report warnings as errors if -Werror is enabledTuncer Ayaz2012-06-111-2/+9
|
* Share format_errors/format_warnings functionsTuncer Ayaz2012-06-111-1/+16
|
* Manually report errors/warnings with absolute pathTuncer Ayaz2012-06-111-5/+31
|
* Remove ?FAIL in favor of ?ABORTDave Smith2012-06-081-2/+2
|
* Clean up codeTuncer Ayaz2011-02-061-2/+4
|
* Clean up emacs file local variablesTuncer Ayaz2011-01-311-1/+1
|
* Tidier improvementsKostis Sagonas2010-10-261-1/+1
|
* include source path in compiler errors, process commands separately (to make ↵Bob Ippolito2010-05-151-1/+2
| | | | get-deps compile work), ensure ebin dir, process iteratively to support transitive deps
* Implemented option to specify number of concurrent workers a command may useTuncer Ayaz2010-01-061-1/+3
|
* Another round of refactoring to yield better flexiblity in the base_compiler ↵Dave Smith2010-01-031-70/+59
| | | | system
* Refactor of compilation logic to enable support for package modules and ↵Dave Smith2010-01-021-0/+197
provide better modularity/reusability for other systems