diff options
author | alisdair sullivan <alisdair.sullivan@askuity.com> | 2015-09-29 14:08:31 -0700 |
---|---|---|
committer | alisdair sullivan <alisdair.sullivan@askuity.com> | 2015-09-29 15:39:48 -0700 |
commit | 420d804ea3915a12de0c12a9fd3952911f19be5b (patch) | |
tree | 0fae2bf4da73a7f07bc87af1a8264bb51b8b2bbc /test/rebar_eunit_SUITE_data/inflate | |
parent | 496986583c7f176dbaf20fba16dcd9ac685d7151 (diff) |
shiny and new test suite for eunit provider
Diffstat (limited to 'test/rebar_eunit_SUITE_data/inflate')
-rwxr-xr-x | test/rebar_eunit_SUITE_data/inflate | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/rebar_eunit_SUITE_data/inflate b/test/rebar_eunit_SUITE_data/inflate new file mode 100755 index 0000000..d402f80 --- /dev/null +++ b/test/rebar_eunit_SUITE_data/inflate @@ -0,0 +1,15 @@ +#!/usr/bin/env escript + +main(["basic_app"]) -> + case filelib:is_file("basic_app.zip") of + true -> zip:unzip("basic_app.zip"), halt(0); + false -> io:format("unable to locate basic_app.zip~n", []), halt(1) + end; +main(["multi_app"]) -> + case filelib:is_file("multi_app.zip") of + true -> zip:unzip("multi_app.zip"), halt(0); + false -> io:format("unable to locate multi_app.zip~n", []), halt(1) + end, + halt(0); +main(_) -> + io:format("usage: inflate basic_app | multi_app~n", []), halt(1).
\ No newline at end of file |