Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | rebar_erlydtl_compiler: fix incorrect lists:keysort/2 call | Tuncer Ayaz | 2012-11-11 | 1 | -1/+1 |
| | |||||
* | Merge pull request #328 from saleyn/depcheck | Dave Smith | 2012-11-10 | 1 | -2/+2 |
|\ | | | | | Fix erlydtl dependency check | ||||
| * | Fix erlydtl dependency check | Serge Aleynikov | 2012-10-25 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | When a DTL template includes other template files, those files don't need to be compiled separately, and therefore can be given an extension different from `source_ext` (such as `.dtli`) to avoid being compiled. This fix allows rebar to find included dependencies with names `*.dtl*` rather than `*.dtl` and properly determine if a template file needs to be recompiled. | ||||
* | | Made more readable printout of the erlydtl compiler message | Serge Aleynikov | 2012-10-22 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The printed message is made more terse. Example before applying patch: ERROR: Compiling template src/view/test.dtl failed: {error,{"src/view/test.dtl", [{{4,7}, erlydtl_parser, ["syntax error before: ",["\"\\\"HELLO_WORLD\\\"\""]]}]}} Example after applying patch: ERROR: Compiling template "src/cmp_html_error_template.dtl" failed: (line:3, col:12): ["syntax error before: ",["trans"]] | ||||
* | | Specify multiple locations of DTL template files | Serge Aleynikov | 2012-10-22 | 1 | -24/+73 |
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added a backward compartible feature to specify `erlydtl_opts' options for the DTL template compiler to allow inclusion of templates in different directories with different compilation settings for each. E.g.: {erlydtl_opts, [ [{doc_root, "src/view"}, {module_ext, "_dtl_vw"}] , [{doc_root, "src"}, {module_ext, ""}, {recursive, false}] , {out_dir, "ebin"} , {compiler_options, [verbose, debug_info]} ]}. The definition above is identical to this (the last two options are duplicated in each list): {erlydtl_opts, [ [{doc_root, "src/view"} ,{module_ext, "_dtl_vw"} ,{out_dir, "ebin"} ,{compiler_options, [verbose, debug_info]}] , [{doc_root, "src"} ,{module_ext, ""} ,{out_dir, "ebin"} ,{compiler_options, [verbose, debug_info]} ,{recursive, false}] ]}. In this case "src/view" and "src" directories containing template files will be compiled. A new `recursive' option tells rebar_erlydtl_compiler to search files recursively from a given doc_root. In the example above the "src" directory won't be scanned recursively, and the target template name for target beam modules won't have "_dtl_vw" suffix. | ||||
* | Re-use rebar_utils:ebin_dir() | Tuncer Ayaz | 2012-08-06 | 1 | -1/+1 |
| | |||||
* | Fix R13B03 build (Reported-by: Sergey Nartimov) | Tuncer Ayaz | 2012-07-28 | 1 | -2/+2 |
| | |||||
* | Remove ?FAIL in favor of ?ABORT | Dave Smith | 2012-06-08 | 1 | -2/+2 |
| | |||||
* | Fix whitespace errors | Tuncer Ayaz | 2012-03-18 | 1 | -8/+8 |
| | |||||
* | Fix badarg crashes on missing dependency errors | Loïc Hoguin | 2012-03-18 | 1 | -2/+2 |
| | |||||
* | Fix compiling DTL templates with latest erlydtl | Phil Toland | 2012-02-16 | 1 | -6/+10 |
| | | | | | | The latest version of erlydtl requires that custom tag modules be in the path when templates are compiled. Without this change rebar silently exits when using the custom_tags_modules option. | ||||
* | Fix whitespace errors | Tuncer Ayaz | 2012-01-17 | 1 | -1/+1 |
| | |||||
* | Use ?ERROR where appropriate | Tuncer Ayaz | 2012-01-17 | 1 | -3/+3 |
| | |||||
* | Clean up code | Tuncer Ayaz | 2011-02-06 | 1 | -9/+11 |
| | |||||
* | Clean up emacs file local variables | Tuncer Ayaz | 2011-01-31 | 1 | -1/+1 |
| | |||||
* | Fix grep invocations | Tuncer Ayaz | 2011-01-13 | 1 | -5/+10 |
| | |||||
* | Apply Tidier suggestions | Tuncer Ayaz | 2011-01-13 | 1 | -8/+7 |
| | |||||
* | Fix file existence checks | Tuncer Ayaz | 2011-01-13 | 1 | -1/+1 |
| | |||||
* | Unify executable invocation | Juhani Rankimies | 2011-01-06 | 1 | -6/+10 |
| | | | | | Add flags to rebar_utils:sh to control output and error handling. Replace calls to os:cmd with calls to rebar_utils:sh. | ||||
* | Fix typo in rebar_erlydtl_compiler | Anthony Ramine | 2010-12-16 | 1 | -1/+1 |
| | |||||
* | Tidier improvements | Kostis Sagonas | 2010-10-26 | 1 | -13/+9 |
| | |||||
* | Added support for custom_tags_dir compile option to rebar_erlydtl_compiler | Alex Songe | 2010-01-16 | 1 | -1/+3 |
| | |||||
* | rework elrydtl_compiler to do dependency checking correctly in refactored rebar | Bryan Fink | 2010-01-04 | 1 | -40/+55 |
| | |||||
* | Another round of refactoring to yield better flexiblity in the base_compiler ↵ | Dave Smith | 2010-01-03 | 1 | -4/+5 |
| | | | | system | ||||
* | Refactor of compilation logic to enable support for package modules and ↵ | Dave Smith | 2010-01-02 | 1 | -12/+8 |
| | | | | provide better modularity/reusability for other systems | ||||
* | Added vi modeline/emacs local variables to file headers | Tuncer Ayaz | 2009-12-31 | 1 | -0/+2 |
| | |||||
* | rebar can now compile ErlyDTL files (if erlydtl is installed) | Bryan Fink | 2009-12-22 | 1 | -0/+167 |
defaults to compiling from templates/*.dtl to ebin/*_dtl.beam see top of rebar_erlydtl_compiler for configuration options |