summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * Fix Dialyzer warning in rebar:run/2Tuncer Ayaz2012-11-111-1/+1
| |
| * rebar_erlydtl_compiler: fix incorrect lists:keysort/2 callTuncer Ayaz2012-11-111-1/+1
|/
* Merge pull request #328 from saleyn/depcheckDave Smith2012-11-101-2/+2
|\ | | | | Fix erlydtl dependency check
| * Fix erlydtl dependency checkSerge Aleynikov2012-10-251-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.
* | Merge pull request #327 from saleyn/erlydtl_compilerDave Smith2012-11-102-26/+81
|\ \ | | | | | | Erlydtl compiler
| * | Made more readable printout of the erlydtl compiler messageSerge Aleynikov2012-10-221-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 filesSerge Aleynikov2012-10-222-26/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Expose Erlang API for invoking rebarDave Smith2012-11-061-0/+7
| | |
* | | Add comment to explain why we're using sub_dirs by handDave Smith2012-11-051-0/+5
| | |
* | | Add all subdirs to xref library pathDaniel Luna2012-11-051-4/+7
| | |
* | | Add email address to my nameDaniel Luna2012-11-051-1/+2
| | |
* | | Merge pull request #5 from tuncer/zsh-typosDave Smith2012-11-011-9/+9
|\ \ \ | | | | | | | | zsh completion: fix typos
| * | | zsh completion: fix typosTuncer Ayaz2012-11-011-9/+9
| | | |
* | | | Merge branch 'master' of github.com:/basho/rebarDave Smith2012-11-011-8/+20
|\ \ \ \ | |/ / / |/| | |
| * | | Merge pull request #293 from Motiejus/skip_depsDave Smith2012-10-311-8/+20
| |\ \ \ | | | | | | | | | | | | | | | | | | | | Add skip_deps=AppListSeparatedByCommas feature. I agree it's a bit of a weird thing, but it's a reasonable and safe extension. When time comes to properly overhaul stuff, skip_deps should disappear entirely.
| | * | | Add skip_deps=AppListSeparatedByCommas featureMotiejus Jakštys2012-08-091-8/+20
| | | | |
* | | | | Merge pull request #4 from shkumagai/feature/add-zsh-completionDave Smith2012-10-311-0/+79
|\ \ \ \ \ | |/ / / / |/| | | | Add zsh completion script
| * | | | Add zsh completion scriptShoji KUMAGAI2012-11-011-0/+79
| | | | | | | | | | | | | | | | | | | | For enable to shell-completion in zsh.
* | | | | ct: skip instead of halt on missing/unknown suiteArjan Scherpenisse2012-10-311-3/+10
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows `rebar ct suites=abc` to consider all suites when you have a rebar setup with multiple sub_dirs. Previously, rebar halted after it could not find the suite in the first dir. But the suite might be present in another dir (when sub_dirs contains multiple dirs). This commit makes it so instead of halting, it prints a warning and continues with looking for the suite in the other `sub_dir`s. Note -- This uses try/catch to cause the test to be skipped because otherwise I needed to adjust the return values of 4 functions, the code path is pretty deeply nested here. Otherwise the whole call chain needed to be adjusted for this return value: `run_test -> make_cmd -> get_suites -> find_suite_path` IMHO, I think for exceptional cases like this it is fine to use throw; specially since only the {skip} is catched and nothing else.
* | | | Update travis-ci link.Dave Smith2012-10-311-1/+1
| | | |
* | | | Updating .travis.yml for new primary repoDave Smith2012-10-311-3/+0
| | | |
* | | | Various updates for README to reflect new home for rebarDave Smith2012-10-301-44/+40
| | | |
* | | | Merge remote-tracking branch 'basho/master'Dave Smith2012-10-301-0/+29
|\ \ \ \
| * \ \ \ Merge pull request #243 from evanmcc/pevm_min_otp_versionDave Smith2012-10-301-0/+29
| |\ \ \ \ | | |_|_|/ | |/| | | Add support for minimum OTP versions
| | * | | Add support for minimum OTP versions.Evan Vigil-McClanahan2012-06-211-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since you can't really do math with regexps and it's a pain to repeatedly update the config for each new version or erlang, I wanted to add support for minium OTP versions. This is a fix for https://github.com/basho/riaknostic/issues/38
* | | | | Merge pull request #1 from tuncer/ta-old-arch_stringDave Smith2012-10-292-7/+2
|\ \ \ \ \ | |/ / / / |/| | | | Revert arch string changes
| * | | | Revert arch string changesTuncer Ayaz2012-10-292-7/+2
|/ / / /
* | | | Add Magnus Henoch to THANKSTuncer Ayaz2012-10-221-1/+1
| | | |
* | | | Fix rebar_base_compiler:format_errors/3 for errors in include filesMagnus Henoch2012-10-221-9/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Handle the case where the error didn't occur in the file being compiled. That is, if there is an error on line 9 of bar.hrl, instead of: /path/to/foo.erl:9: type foo() already defined print: /path/to/bar.hrl:9: type foo() already defined
* | | | Merge pull request #217 from alavrik/raw_deps_newDave Smith2012-10-213-15/+62
|\ \ \ \ | | | | | | | | | | Add support for non-Erlang/OTP (raw) dependencies
| * | | | Add support for non-Erlang/OTP (raw) dependenciesAnton Lavrik2012-10-113-15/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduce a new 'raw' option for dependency specs in rebar.config file. For example: {deps, {dependency_name, "1.0.*", {git, "<...>", {branch, "master"}}, [raw] } ]}. When this option is specified, rebar does not require the dependency to have a standard Erlang/OTP layout which assumes presence of either "src/dependency_name.app.src" or "ebin/dependency_name.app" files. 'raw' dependencies can still contain 'rebar.config' and even can have the proper OTP directory layout, but they won't be compiled. Only a subset of rebar commands will be executed on the 'raw' subdirectories: get-deps, update-deps, check-deps, list-deps and delete-deps.
* | | | | Adding Serge Aleynikov to THANKSDave Smith2012-10-201-0/+2
| |_|_|/ |/| | |
* | | | Merge pull request #325 from saleyn/reltoolDave Smith2012-10-201-1/+1
|\ \ \ \ | | | | | | | | | | Fix return value of rebar_overlay
| * | | | Fix return value of rebar:overlay/2serge2012-10-201-1/+1
| |/ / / | | | | | | | | | | | | | | | | When 'rebar overlay' is run rebar_core got a wrong result {Config, ok} from rebar_reltool instead of {ok, Config}.
* | | | Merge pull request #326 from saleyn/hostname_varDave Smith2012-10-201-1/+2
|\ \ \ \ | |/ / / |/| | | Add hostname variable to reltool overlay templates
| * | | Add hostname variable to reltool overlay templatesserge2012-10-201-1/+2
|/ / /
* | | rebar_edoc: use correct proplist() type (Reported-by: Kostis Sagonas)Tuncer Ayaz2012-10-031-1/+1
| | |
* | | noshell/noinput should NOT be the default emulator args for an escriptDave Smith2012-10-021-1/+1
| | |
* | | Fix whitespace errorsTuncer Ayaz2012-09-282-2/+4
| | |
* | | Add Martin Schut to THANKS fileTuncer Ayaz2012-09-281-0/+1
| | |
* | | deps: add fossil scm supportMartin Schut2012-09-282-13/+39
| | |
* | | Fix fprof use (-p/--profile)Tuncer Ayaz2012-09-261-4/+3
| | |
* | | Revert 15b7798e4 and restore old git-describe callTuncer Ayaz2012-09-211-11/+1
| | | | | | | | | | | | | | | Restore previous 'git describe' behaviour as discussed here: http://lists.basho.com/pipermail/rebar_lists.basho.com/2012-September/001713.html
* | | Add Daniel White to THANKS fileTuncer Ayaz2012-09-201-0/+1
| | |
* | | Merge pull request #316 from danielwhite/document-rsync-featureDave Smith2012-09-201-1/+2
|\ \ \ | | | | | | | | Document availability of rsync for fetching deps in rebar.config.sample
| * | | Document availability of rsync for fetching deps in rebar.config.sampleDaniel White2012-09-201-1/+2
|/ / /
* | | rebar_deps: fix whitespace errorsTuncer Ayaz2012-09-151-3/+3
| | |
* | | Restore ability to specify deps_dir on the command lineYurii Rashkovskii2012-09-151-1/+2
| | | | | | | | | | | | | | | It was previously possible to run `rebar compile deps_dir=/path/to/deps`, but as of 70d27c5720331076f52e4fd7bcd1dc8045c8c86a, it was nixed.
* | | eunit: analyze coverage only for cover compiled modulesShunichi Shinohara2012-09-132-18/+30
| | | | | | | | | | | | This change fixes #310.
* | | xref: allow multiple behaviours and ignore_xref pragmasDaniel Luna2012-09-131-12/+6
| | |