aboutsummaryrefslogtreecommitdiffstats
path: root/test/rlx_extended_bin_SUITE.erl
diff options
context:
space:
mode:
authorAlexSedov <[email protected]>2018-07-27 15:19:11 +0300
committerAlexSedov <[email protected]>2018-07-27 15:19:11 +0300
commiteab72217378e06711d3b825944a1f5b0d0f29f95 (patch)
tree4f2590f0bba76f2ec7ea8f711f09dd90db4bc707 /test/rlx_extended_bin_SUITE.erl
parentb69658a37a0cf62a45bc0de89551344b2cf38595 (diff)
downloadrelx-eab72217378e06711d3b825944a1f5b0d0f29f95.tar.gz
relx-eab72217378e06711d3b825944a1f5b0d0f29f95.tar.bz2
relx-eab72217378e06711d3b825944a1f5b0d0f29f95.zip
Support wildcards for copy/link to a directory.
Additionally, removes a lot of unnecessary conversions to binary in relx_prv_overlay (binary and string in Erlang are two different beasts for filenames), and factors out some common code.
Diffstat (limited to 'test/rlx_extended_bin_SUITE.erl')
-rw-r--r--test/rlx_extended_bin_SUITE.erl5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/rlx_extended_bin_SUITE.erl b/test/rlx_extended_bin_SUITE.erl
index 86a9d23..d8e74f2 100644
--- a/test/rlx_extended_bin_SUITE.erl
+++ b/test/rlx_extended_bin_SUITE.erl
@@ -1294,10 +1294,7 @@ custom_start_script_hooks(Config) ->
]}
]},
{mkdir, "scripts"},
- {overlay, [{copy, "./pre_start", "bin/hooks/pre_start"},
- {copy, "./post_start", "bin/hooks/post_start"},
- {copy, "./pre_stop", "bin/hooks/pre_stop"},
- {copy, "./post_stop", "bin/hooks/post_stop"}]}
+ {overlay, [{copy, "./{pre,post}_{start,stop}", "bin/hooks/"}]}
]),
%% write the hook scripts, each of them will write an erlang term to a file