diff options
Diffstat (limited to 'rebar.config')
-rw-r--r-- | rebar.config | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/rebar.config b/rebar.config index 2a86d04..67fb1ac 100644 --- a/rebar.config +++ b/rebar.config @@ -14,7 +14,12 @@ {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", + escriptize, + "robocopy \"%REBAR_BUILD_DIR%/bin/\" ./ rebar3* " + "/njs /njh /nfl /ndl & exit /b 0"} % silence things + ]}. {escript_name, rebar3}. {escript_emu_args, "%%! +sbtu +A0\n"}. |