Browse Source

make the hook for windows work

pull/1494/head
Fred Hebert 8 years ago
parent
commit
f60a377b5d
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      rebar.config

+ 4
- 2
rebar.config View File

@ -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}.

Loading…
Cancel
Save