From 8a6059861c78d6e5b74f48cf2cba717becbebc3b Mon Sep 17 00:00:00 2001 From: hommeabeil Date: Sat, 24 Mar 2018 09:47:52 -0400 Subject: add test in systest --- systest/all_SUITE_data/compile_deps/rebar.config | 8 ++++++++ systest/all_SUITE_data/compile_deps/rebar.config.script | 2 ++ .../compile_deps/vendored/fake_dep/rebar.config | 2 ++ .../compile_deps/vendored/fake_dep/src/fake_dep.app.src | 15 +++++++++++++++ .../compile_deps/vendored/fake_dep/src/fake_dep.erl | 13 +++++++++++++ 5 files changed, 40 insertions(+) create mode 100644 systest/all_SUITE_data/compile_deps/rebar.config create mode 100644 systest/all_SUITE_data/compile_deps/rebar.config.script create mode 100644 systest/all_SUITE_data/compile_deps/vendored/fake_dep/rebar.config create mode 100644 systest/all_SUITE_data/compile_deps/vendored/fake_dep/src/fake_dep.app.src create mode 100644 systest/all_SUITE_data/compile_deps/vendored/fake_dep/src/fake_dep.erl (limited to 'systest/all_SUITE_data/compile_deps') 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 +%%==================================================================== -- cgit v1.1