summaryrefslogtreecommitdiff
path: root/src/rebar_base_compiler.erl
Commit message (Collapse)AuthorAgeFilesLines
* merge over rebar2 PR #401Tristan Sloughter2014-12-051-5/+1
|
* fix lock provider to work anytime it is runTristan Sloughter2014-11-291-7/+2
|
* fix warning/error compilation outputTristan Sloughter2014-11-081-4/+4
|
* handle throw by relxTristan Sloughter2014-11-081-17/+17
|
* improved dep handling and add package list taskTristan Sloughter2014-08-241-4/+4
|
* switched package index to dictTristan Sloughter2014-08-231-6/+6
|
* refactoring and remove unused providers for nowTristan Sloughter2014-08-231-9/+7
|
* only build unbuilt depsTristan Sloughter2014-08-181-2/+2
|
* start of moving to splitting state from config parsingTristan Sloughter2014-08-171-1/+1
|
* replace logging with ec_cmd_log from erlware_commonsTristan Sloughter2014-08-161-5/+5
|
* Fix OS X resource fork handling (Reported-by: Richard O'Keefe)Tuncer Ayaz2014-07-251-3/+6
| | | | | | | | | 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.
* rebar_base_compiler: replace fixed size list with a tupleTuncer Ayaz2014-01-151-4/+3
|
* Fix basho/rebar#388Tuncer Ayaz2014-01-151-16/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | If the syntax error is in a .hrl file, then the reported error message is not as useful because it's not clear which .erl file was being compiled. We can fix that easily by first printing what source file was being processed. We don't change the actual error message, so this will still work with your editor of choice for jumping to the right line. Before ------ Success: Compiled src/foo.erl Failure: include/foo.hrl:10: syntax error [...] After ----- Success: Compiled src/foo.erl Failure: Compiling src/foo.erl failed: include/foo.hrl:10: syntax error [...]
* 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