summaryrefslogtreecommitdiff
path: root/src/rebar_erlc_compiler.erl
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Make sure to create dir structure for output bamsDave Smith2010-01-041-0/+1
|
* Tweak regex to properly match extension and not just .erl anywhere in filenameDave Smith2010-01-041-1/+1
|
* Another round of refactoring to yield better flexiblity in the base_compiler ↵Dave Smith2010-01-031-55/+79
| | | | system
* Refactor of compilation logic to enable support for package modules and ↵Dave Smith2010-01-021-142/+44
| | | | provide better modularity/reusability for other systems
* Added vi modeline/emacs local variables to file headersTuncer Ayaz2009-12-311-0/+2
|
* Deleted trailing whitespaceTuncer Ayaz2009-12-301-7/+7
|
* add hrl-triggered recompiling to 'eunit' build as wellBryan Fink2009-12-211-1/+1
|
* recompile files if their "includes" have changedBryan Fink2009-12-211-22/+62
| | | | added parameter to do_compile for passing a function that can extra the list of includes from a file