rebar/inttest/tplugins/bad_plugin.erl
Tim Watson 3b58935b86 Load plugins dynamically from source
This patch updates rebar_core to look for missing plugins (i.e. those
that aren't found on the code path at runtime) in a configurable
plugin directory, and dynamically compile and load them at runtime.

By default, the directory "plugins" is searched, although this can be
overriden by setting the plugin_dir in your rebar.config.
2011-08-29 17:27:45 +02:00

7 lines
156 B
Erlang

-module(bad_plugin).
-compile(export_all).
%% this plugin contains numerous DELIBERATE syntax errors
fwibble(Config, _) >
file:delete("fwibble.test")