summaryrefslogtreecommitdiff
path: root/rebar.config
diff options
context:
space:
mode:
Diffstat (limited to 'rebar.config')
-rw-r--r--rebar.config5
1 files changed, 4 insertions, 1 deletions
diff --git a/rebar.config b/rebar.config
index 1d853c4..e76f04e 100644
--- a/rebar.config
+++ b/rebar.config
@@ -14,7 +14,10 @@
{post_hooks, [{"(linux|darwin|solaris|freebsd|netbsd|openbsd)",
escriptize,
- "cp $REBAR_BUILD_DIR/bin/rebar3 ./rebar3 && chmod u+x rebar3"}]}.
+ "cp $REBAR_BUILD_DIR/bin/rebar3 ./rebar3"},
+ {"win32",
+ "robocopy $REBAR_BUILD_DIR/bin/ ./ rebar3*"}
+ ]}.
{escript_name, rebar3}.
{escript_emu_args, "%%! +sbtu +A0\n"}.