summaryrefslogtreecommitdiff
path: root/src/rebar_erlc_compiler.erl
Commit message (Collapse)AuthorAgeFilesLines
* Implement 'rebar help CMD1 CMD2' and extend common 'rebar help' msgTuncer Ayaz2012-12-311-4/+39
| | | | | * allow plugins to print help message for implemented commands * append core rebar.config options to common 'rebar help' message
* Cleanup rebar_core and rebar_erlc_compilerTuncer Ayaz2012-11-151-6/+0
| | | | | Rename rebar_core functions for improved readability. Remove redundant comments and blank lines.
* rebar_erlc_compiler: fix src_dirs commentTuncer Ayaz2012-11-151-1/+1
|
* Fix whitespace errorTuncer Ayaz2012-08-181-3/+2
|
* Add erlc override from erl_opts: outdirJoe DeVivo2012-08-181-1/+3
|
* Use separate dirs for eunit and qcTuncer Ayaz2012-08-091-9/+9
|
* Separate eunit and qc compile optionsTuncer Ayaz2012-08-091-6/+8
|
* Clean up specsTuncer Ayaz2012-08-061-1/+1
|
* Fix arg order in rebar_erlc_compiler:compile_mib/3Tuncer Ayaz2012-08-061-3/+3
|
* Only print absolute filename if not in base_dirTuncer Ayaz2012-08-051-40/+38
|
* Fix R13B03 build (Reported-by: Sergey Nartimov)Tuncer Ayaz2012-07-281-1/+1
|
* Rename old eunit compile options for consistency with test-compileTuncer Ayaz2012-07-261-3/+3
|
* Add 'qc' cmd and rename eunit-compile to test-compileTuncer Ayaz2012-07-231-4/+105
|
* Re-word commentTuncer Ayaz2012-07-121-1/+1
|
* Add missing comment in rebar_erlc_compilerTuncer Ayaz2012-07-121-0/+1
|
* Move erl_opts/1 and src_dirs/1 to rebar_utils.erlMotiejus Jakštys2012-07-021-43/+2
| | | | These functions will be necessary in rebar_eunit.erl, too.
* Refactor shared error reporting codeTuncer Ayaz2012-06-111-6/+4
|
* Report warnings as errors if -Werror is enabledTuncer Ayaz2012-06-111-2/+2
|
* Share format_errors/format_warnings functionsTuncer Ayaz2012-06-111-18/+6
|
* Manually format leex/yecc errors/warningsTuncer Ayaz2012-06-111-3/+6
|
* Manually report errors/warnings with absolute pathTuncer Ayaz2012-06-111-4/+19
|
* Fix unsafe use of varTuncer Ayaz2012-06-081-16/+17
|
* Remove ?FAIL in favor of ?ABORTDave Smith2012-06-081-3/+3
|
* Fix src_dirs option to not hard-code "src"Tuncer Ayaz2012-02-241-1/+1
|
* Treat callback attributes same as behaviour_infoShunichi Shinohara2012-02-101-0/+6
| | | | | Automatically include modules with callback attributes in erl_first_files.
* Cleanup and fix -D for erl_optsTuncer Ayaz2011-10-231-3/+3
|
* Add -D optionTuncer Ayaz2011-10-221-8/+14
|
* Cleanup deprecations now that R14B04 is releasedTuncer Ayaz2011-10-061-20/+3
|
* Ensure include dir exists in compile_mib/3Ignas Vyšniauskas2011-09-021-1/+2
|
* Generate .hrl file from .mibAnders Nygren2011-08-051-2/+10
| | | | | | | | | | | Generate .hrl files into include from SNMP MIB files. Change the order of so .mib files are built before .erl This is necessary since .hrl files are generated from the .mib files. The generated .bin and .hrl files are deleted by clean. This is a cleaned up version of a patch originally sent to the rebar mailing list by David Nonnenmacher.
* Deprecate xrl_opts/yrl_opts fail_on_warning optTuncer Ayaz2011-06-081-8/+7
|
* Minimize compile optionsTuncer Ayaz2011-06-011-1/+1
|
* Fix erlc regression (reported-by Benoit Chesneau)Tuncer Ayaz2011-06-011-2/+2
|
* Cleanup deprecations now that R14B03 is releasedTuncer Ayaz2011-05-311-16/+10
|
* Use external wordsize to get emulator build archSteve Vinoski2011-05-311-1/+2
| | | | | | | | | | | | | | | Calling erlang:system_info(wordsize) yields the internal word size of the Erlang emulator. But due to the halfword emulator, need to pass {wordsize, external} instead to get the word size, or pointer size, as seen by external code such as NIFs. The halfword emulator has 4 byte internal words but 8 byte external words due to 64-bit compilation, which means NIFs for the halfword emulator also have to be compiled 64-bit. But just passing wordsize is equivalent to passing {wordsize, internal}, which does not indicate the pointer size for the halfword emulator. Older versions of Erlang do not support {wordsize, external}, though, so continue to pass just wordsize for those versions.
* Adjust deprecation messageTuncer Ayaz2011-04-211-1/+1
|
* Deprecate fail_on_warning and refactor codeTuncer Ayaz2011-04-071-0/+4
|
* Make debug_info defaultTuncer Ayaz2011-03-301-7/+6
| | | | | Add no_debug_info option. Remove debug_info=1 option.
* Clean up specsTuncer Ayaz2011-03-281-27/+30
|
* Give an absolute path to code:add_path/1Anthony Ramine2011-02-151-1/+1
| | | | | | | If an app uses -include_lib for its own included files, compilation fails if the app directory isn't in $ERL_LIBS because code:lib_dir/1 will return an error. An absolute path needs to be added to code path instead of just "ebin".
* Clean up codeTuncer Ayaz2011-02-061-48/+62
|
* Clean up emacs file local variablesTuncer Ayaz2011-01-311-1/+1
|
* Fix underspec (thanks Kostis Sagonas)Tuncer Ayaz2011-01-131-1/+1
|
* Add otp_release to platform stringJoseph Wayne Norton2011-01-091-6/+19
|
* Fix order of erl_opts to be more accurateTuncer Ayaz2011-01-041-2/+2
|
* Remove erlc target after fail_on_warning failureJoseph Wayne Norton2010-12-271-0/+2
| | | | | Prevent overlooking a compilation warning by removing the target beam file after fail_on_warning failure.
* Fix compilation of *_first_filesMihai Balea2010-12-011-3/+20
| | | | | | - Check the existence of first_files and fail if they are not present - Get first_files lists from local instead of inherited config definitions, since they only make sense in the local context
* Add new global flag 'debug_info' to erlc_compilerJoseph Wayne Norton2010-11-301-1/+8
| | | | | | | Using rebar's commandline, enable/disable 'debug_info' for compilation. This feature if added to all rebar compilers could help simplify and standardize this common use case for all rebar build targets.
* Port rebar_file_utils to WindowsJuhani Rankimies2010-10-271-4/+2
| | | | | | | | Modify rm_rf and cp_r to work when {win32,_} = os:type(). Simplify rm_rf to only accept one filename, directoryname or wildcard. Add unit tests to ensure a similar behaviour on windows and unix. Thanks to tuncer for guidance and feedback.
* Tidier improvementsKostis Sagonas2010-10-261-5/+5
|