summaryrefslogtreecommitdiff
path: root/systest/all_SUITE_data/compile_deps
diff options
context:
space:
mode:
authorhommeabeil <jeanbouch418@gmail.com>2018-03-24 09:47:52 -0400
committerhommeabeil <jeanbouch418@gmail.com>2018-03-24 09:47:52 -0400
commit8a6059861c78d6e5b74f48cf2cba717becbebc3b (patch)
treeb7bc50fe913977230ca820ca34ae611d9a0e3b03 /systest/all_SUITE_data/compile_deps
parent4a35276bdf93869f95344eaafb2571d3c731a615 (diff)
add test in systest
Diffstat (limited to 'systest/all_SUITE_data/compile_deps')
-rw-r--r--systest/all_SUITE_data/compile_deps/rebar.config8
-rw-r--r--systest/all_SUITE_data/compile_deps/rebar.config.script2
-rw-r--r--systest/all_SUITE_data/compile_deps/vendored/fake_dep/rebar.config2
-rw-r--r--systest/all_SUITE_data/compile_deps/vendored/fake_dep/src/fake_dep.app.src15
-rw-r--r--systest/all_SUITE_data/compile_deps/vendored/fake_dep/src/fake_dep.erl13
5 files changed, 40 insertions, 0 deletions
diff --git a/systest/all_SUITE_data/compile_deps/rebar.config b/systest/all_SUITE_data/compile_deps/rebar.config
new file mode 100644
index 0000000..08e2f62
--- /dev/null
+++ b/systest/all_SUITE_data/compile_deps/rebar.config
@@ -0,0 +1,8 @@
+{deps, [
+ {fake_dep, {localdep, "fake_dep"}}
+ ]}.
+
+{plugins, [{rebar_localdep,
+ {git, "https://github.com/alinpopa/rebar3-localdep-plugin.git",
+ {branch, "master"}}}]}.
+
diff --git a/systest/all_SUITE_data/compile_deps/rebar.config.script b/systest/all_SUITE_data/compile_deps/rebar.config.script
new file mode 100644
index 0000000..c0ebab1
--- /dev/null
+++ b/systest/all_SUITE_data/compile_deps/rebar.config.script
@@ -0,0 +1,2 @@
+os:putenv("LOCALDEP_DIR", "./vendored/").
+CONFIG.
diff --git a/systest/all_SUITE_data/compile_deps/vendored/fake_dep/rebar.config b/systest/all_SUITE_data/compile_deps/vendored/fake_dep/rebar.config
new file mode 100644
index 0000000..f618f3e
--- /dev/null
+++ b/systest/all_SUITE_data/compile_deps/vendored/fake_dep/rebar.config
@@ -0,0 +1,2 @@
+{erl_opts, [debug_info]}.
+{deps, []}. \ No newline at end of file
diff --git a/systest/all_SUITE_data/compile_deps/vendored/fake_dep/src/fake_dep.app.src b/systest/all_SUITE_data/compile_deps/vendored/fake_dep/src/fake_dep.app.src
new file mode 100644
index 0000000..8547c35
--- /dev/null
+++ b/systest/all_SUITE_data/compile_deps/vendored/fake_dep/src/fake_dep.app.src
@@ -0,0 +1,15 @@
+{application, fake_dep,
+ [{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/compile_deps/vendored/fake_dep/src/fake_dep.erl b/systest/all_SUITE_data/compile_deps/vendored/fake_dep/src/fake_dep.erl
new file mode 100644
index 0000000..db8d9f0
--- /dev/null
+++ b/systest/all_SUITE_data/compile_deps/vendored/fake_dep/src/fake_dep.erl
@@ -0,0 +1,13 @@
+-module(fake_dep).
+
+%% API exports
+-export([]).
+
+%%====================================================================
+%% API functions
+%%====================================================================
+
+
+%%====================================================================
+%% Internal functions
+%%====================================================================