summaryrefslogtreecommitdiff
path: root/systest/all_SUITE_data/alias_clash/src
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2017-12-05 07:47:07 -0500
committerFred Hebert <mononcqc@ferd.ca>2017-12-05 07:57:40 -0500
commit553a579b36fe0fb4a8bf464cd282d43c07d4e192 (patch)
tree92a62624f4be249cd583ea1f3c33145641087e09 /systest/all_SUITE_data/alias_clash/src
parent46ea7e1e8f700d92947a0a9d8bfb0fb43b122a66 (diff)
Alias plugin promoted to built-in command
- Uses the code at https://github.com/tsloughter/rebar_alias and brings it within rebar3 - adds safety checks to prevent redefining built-in commands or obvious circular dependencies between commands (indirect circular deps are still possible) - adds tests - adds a systest to ensure no clash with the existing plugin
Diffstat (limited to 'systest/all_SUITE_data/alias_clash/src')
-rw-r--r--systest/all_SUITE_data/alias_clash/src/alias_clash.app.src15
-rw-r--r--systest/all_SUITE_data/alias_clash/src/alias_clash.erl13
2 files changed, 28 insertions, 0 deletions
diff --git a/systest/all_SUITE_data/alias_clash/src/alias_clash.app.src b/systest/all_SUITE_data/alias_clash/src/alias_clash.app.src
new file mode 100644
index 0000000..b4cdda2
--- /dev/null
+++ b/systest/all_SUITE_data/alias_clash/src/alias_clash.app.src
@@ -0,0 +1,15 @@
+{application, alias_clash,
+ [{description, "An OTP library"},
+ {vsn, "0.1.0"},
+ {registered, []},
+ {applications,
+ [kernel,
+ stdlib
+ ]},
+ {env,[]},
+ {modules, []},
+
+ {maintainers, []},
+ {licenses, ["Apache 2.0"]},
+ {links, []}
+ ]}.
diff --git a/systest/all_SUITE_data/alias_clash/src/alias_clash.erl b/systest/all_SUITE_data/alias_clash/src/alias_clash.erl
new file mode 100644
index 0000000..9249cdb
--- /dev/null
+++ b/systest/all_SUITE_data/alias_clash/src/alias_clash.erl
@@ -0,0 +1,13 @@
+-module(alias_clash).
+
+%% API exports
+-export([]).
+
+%%====================================================================
+%% API functions
+%%====================================================================
+
+
+%%====================================================================
+%% Internal functions
+%%====================================================================