Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Move erl_opts/1 and src_dirs/1 to rebar_utils.erl | Motiejus Jakštys | 2012-07-02 | 1 | -43/+2 | |
| | | | | These functions will be necessary in rebar_eunit.erl, too. | |||||
* | Refactor shared error reporting code | Tuncer Ayaz | 2012-06-11 | 1 | -6/+4 | |
| | ||||||
* | Report warnings as errors if -Werror is enabled | Tuncer Ayaz | 2012-06-11 | 1 | -2/+2 | |
| | ||||||
* | Share format_errors/format_warnings functions | Tuncer Ayaz | 2012-06-11 | 1 | -18/+6 | |
| | ||||||
* | Manually format leex/yecc errors/warnings | Tuncer Ayaz | 2012-06-11 | 1 | -3/+6 | |
| | ||||||
* | Manually report errors/warnings with absolute path | Tuncer Ayaz | 2012-06-11 | 1 | -4/+19 | |
| | ||||||
* | Fix unsafe use of var | Tuncer Ayaz | 2012-06-08 | 1 | -16/+17 | |
| | ||||||
* | Remove ?FAIL in favor of ?ABORT | Dave Smith | 2012-06-08 | 1 | -3/+3 | |
| | ||||||
* | Fix src_dirs option to not hard-code "src" | Tuncer Ayaz | 2012-02-24 | 1 | -1/+1 | |
| | ||||||
* | Treat callback attributes same as behaviour_info | Shunichi Shinohara | 2012-02-10 | 1 | -0/+6 | |
| | | | | | Automatically include modules with callback attributes in erl_first_files. | |||||
* | Cleanup and fix -D for erl_opts | Tuncer Ayaz | 2011-10-23 | 1 | -3/+3 | |
| | ||||||
* | Add -D option | Tuncer Ayaz | 2011-10-22 | 1 | -8/+14 | |
| | ||||||
* | Cleanup deprecations now that R14B04 is released | Tuncer Ayaz | 2011-10-06 | 1 | -20/+3 | |
| | ||||||
* | Ensure include dir exists in compile_mib/3 | Ignas Vyšniauskas | 2011-09-02 | 1 | -1/+2 | |
| | ||||||
* | Generate .hrl file from .mib | Anders Nygren | 2011-08-05 | 1 | -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 opt | Tuncer Ayaz | 2011-06-08 | 1 | -8/+7 | |
| | ||||||
* | Minimize compile options | Tuncer Ayaz | 2011-06-01 | 1 | -1/+1 | |
| | ||||||
* | Fix erlc regression (reported-by Benoit Chesneau) | Tuncer Ayaz | 2011-06-01 | 1 | -2/+2 | |
| | ||||||
* | Cleanup deprecations now that R14B03 is released | Tuncer Ayaz | 2011-05-31 | 1 | -16/+10 | |
| | ||||||
* | Use external wordsize to get emulator build arch | Steve Vinoski | 2011-05-31 | 1 | -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 message | Tuncer Ayaz | 2011-04-21 | 1 | -1/+1 | |
| | ||||||
* | Deprecate fail_on_warning and refactor code | Tuncer Ayaz | 2011-04-07 | 1 | -0/+4 | |
| | ||||||
* | Make debug_info default | Tuncer Ayaz | 2011-03-30 | 1 | -7/+6 | |
| | | | | | Add no_debug_info option. Remove debug_info=1 option. | |||||
* | Clean up specs | Tuncer Ayaz | 2011-03-28 | 1 | -27/+30 | |
| | ||||||
* | Give an absolute path to code:add_path/1 | Anthony Ramine | 2011-02-15 | 1 | -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 code | Tuncer Ayaz | 2011-02-06 | 1 | -48/+62 | |
| | ||||||
* | Clean up emacs file local variables | Tuncer Ayaz | 2011-01-31 | 1 | -1/+1 | |
| | ||||||
* | Fix underspec (thanks Kostis Sagonas) | Tuncer Ayaz | 2011-01-13 | 1 | -1/+1 | |
| | ||||||
* | Add otp_release to platform string | Joseph Wayne Norton | 2011-01-09 | 1 | -6/+19 | |
| | ||||||
* | Fix order of erl_opts to be more accurate | Tuncer Ayaz | 2011-01-04 | 1 | -2/+2 | |
| | ||||||
* | Remove erlc target after fail_on_warning failure | Joseph Wayne Norton | 2010-12-27 | 1 | -0/+2 | |
| | | | | | Prevent overlooking a compilation warning by removing the target beam file after fail_on_warning failure. | |||||
* | Fix compilation of *_first_files | Mihai Balea | 2010-12-01 | 1 | -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_compiler | Joseph Wayne Norton | 2010-11-30 | 1 | -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 Windows | Juhani Rankimies | 2010-10-27 | 1 | -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 improvements | Kostis Sagonas | 2010-10-26 | 1 | -5/+5 | |
| | ||||||
* | Fix issues found by dialyzer | Tuncer Ayaz | 2010-10-10 | 1 | -4/+5 | |
| | ||||||
* | Dialyzer related cleanups | Kostis Sagonas | 2010-10-10 | 1 | -2/+2 | |
| | ||||||
* | Parse transforms and behaviours are compiled first | Andrew Thompson | 2010-10-05 | 1 | -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 handling | Tuncer Ayaz | 2010-10-02 | 1 | -6/+6 | |
| | ||||||
* | Fix warning: access the right record field | Tuncer Ayaz | 2010-10-01 | 1 | -1/+1 | |
| | ||||||
* | Add missing comma | Tuncer Ayaz | 2010-06-12 | 1 | -1/+1 | |
| | ||||||
* | include source path in compiler errors, process commands separately (to make ↵ | Bob Ippolito | 2010-05-15 | 1 | -1/+2 | |
| | | | | get-deps compile work), ensure ebin dir, process iteratively to support transitive deps | |||||
* | Correct comment | Tuncer Ayaz | 2010-05-03 | 1 | -2/+2 | |
| | ||||||
* | Add new erl_opts option to specify platform-specific defines | Tuncer Ayaz | 2010-05-03 | 1 | -5/+49 | |
| | ||||||
* | clean up .yrl and .xrl handling | Bryan Fink | 2010-03-31 | 1 | -22/+21 | |
| | ||||||
* | add leex .xrl handling as well | Bryan Fink | 2010-03-31 | 1 | -12/+25 | |
| | ||||||
* | add handling for yecc's .yrl files to erlc compiler | Bryan Fink | 2010-03-31 | 1 | -0/+35 | |
| | ||||||
* | Removing overly verbose debug message (yes, I realize the irony) | Dave Smith | 2010-03-16 | 1 | -1/+0 | |
| | ||||||
* | Don't detect the source file as an include of itself | Vagabond | 2010-03-02 | 1 | -7/+9 | |
| | ||||||
* | Move the .erl sorting to the right place | Vagabond | 2010-03-02 | 1 | -1/+36 | |
| |