summaryrefslogtreecommitdiff
path: root/src/rebar_erlc_compiler.erl
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Fix issues found by dialyzerTuncer Ayaz2010-10-101-4/+5
|
* Dialyzer related cleanupsKostis Sagonas2010-10-101-2/+2
|
* Parse transforms and behaviours are compiled firstAndrew Thompson2010-10-051-8/+18
| | | | | | | | | | | | | | | The previous code in rebar that was trying to ensure that parse transforms and behaviours were compiled first doesn't work with multiple compiler workers because of the possiblity of one of the workers compiling a file that needs a parse transform or a behaviour at the same time another worker is compiling that same parse transform or behaviour. The solution this patch implements is to append any parse transforms and any behaviours (in that order) to erl_first_files to ensure that they are compiled before any regular files. This patch won't break any currently working uses of erl_first files because we only append to the list, so anything in erl_first_files is still compiled before anything else.
* Fix xrl_opts/yrl_opts option handlingTuncer Ayaz2010-10-021-6/+6
|
* Fix warning: access the right record fieldTuncer Ayaz2010-10-011-1/+1
|
* Add missing commaTuncer Ayaz2010-06-121-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
* Correct commentTuncer Ayaz2010-05-031-2/+2
|
* Add new erl_opts option to specify platform-specific definesTuncer Ayaz2010-05-031-5/+49
|
* clean up .yrl and .xrl handlingBryan Fink2010-03-311-22/+21
|
* add leex .xrl handling as wellBryan Fink2010-03-311-12/+25
|
* add handling for yecc's .yrl files to erlc compilerBryan Fink2010-03-311-0/+35
|
* Removing overly verbose debug message (yes, I realize the irony)Dave Smith2010-03-161-1/+0
|
* Don't detect the source file as an include of itselfVagabond2010-03-021-7/+9
|
* Move the .erl sorting to the right placeVagabond2010-03-021-1/+36
|
* Fix dependancy checking for headers by ensuring "include" is always in the ↵Vagabond2010-03-021-1/+1
| | | | eep IncludePath
* Make sure to add ebin/ to current path when compiling doterl files; found by ↵Dave Smith2010-02-161-2/+8
| | | | @sj_mackenzie
* Make sure to cover all edge cases when parsing module namesDave Smith2010-02-121-6/+13
|
* Provide package support for eunit; build_plt now includes listed ↵theiw2010-02-051-5/+30
| | | | applications; begin including -spec annotations
* Add support for passing addt'l list of sources to erlc_compilerDave Smith2010-02-011-4/+9
|
* Fixed issue 1 "priv/mibs/ is not automatically created"Tuncer Ayaz2010-01-081-1/+2
|
* Preserve non-empty folders when performing cleaniw2010-01-041-13/+13
|
* Take 323 on cleaning package dirs from ebinDave Smith2010-01-041-4/+12
|