summaryrefslogtreecommitdiff
path: root/src/rebar_erlc_compiler.erl
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Adding fail_on_warning supportDave Smith2009-12-141-8/+26
|
* Fixing number of warnings and bugletsDave Smith2009-12-141-1/+1
|
* Added support for eunit tests as test/*_tests.erlJon Meredith2009-12-051-0/+3
|
* Make sure reason for crash is available for debug loggingDave Smith2009-12-021-1/+1
|
* Adding support for parallel compilation; use 3 workers by defaultDave Smith2009-12-011-10/+60
|
* More workDave Smith2009-11-301-2/+2
|
* More gross structural work; now has log levels and broken out log level controlDave Smith2009-11-291-5/+8
|
* Fix options to be more consistentDave Smith2009-11-251-2/+2
|
* Adding support for basic compilation orderingDave Smith2009-11-251-8/+18
|
* Renaming compiler moduleDave Smith2009-11-251-0/+108
--HG-- rename : src/rebar_doterl_compiler.erl => src/rebar_erlc_compiler.erl