diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2017-02-24 13:11:56 -0500 |
---|---|---|
committer | Fred Hebert <mononcqc@ferd.ca> | 2017-02-24 13:11:56 -0500 |
commit | f60a377b5d01dfff42e512daa11c7a003eb1f22e (patch) | |
tree | c4fa4065ce593ed3d095709282a2078f33a9eb81 | |
parent | 81b6c0f6b689a17d6b5ea796b59610c7d669b561 (diff) |
make the hook for windows work
-rw-r--r-- | rebar.config | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/rebar.config b/rebar.config index e76f04e..f9ce8ae 100644 --- a/rebar.config +++ b/rebar.config @@ -14,9 +14,11 @@ {post_hooks, [{"(linux|darwin|solaris|freebsd|netbsd|openbsd)", escriptize, - "cp $REBAR_BUILD_DIR/bin/rebar3 ./rebar3"}, + "cp \"$REBAR_BUILD_DIR/bin/rebar3\" ./rebar3"}, {"win32", - "robocopy $REBAR_BUILD_DIR/bin/ ./ rebar3*"} + escriptize, + "robocopy \"%REBAR_BUILD_DIR%/bin/\" ./ rebar3* " + "/njs /njh /nfl /ndl & exit /b 0"} % silence things ]}. {escript_name, rebar3}. |