748276f
From: Peter Lemenkov <lemenkov@gmail.com>
748276f
Date: Tue, 7 Feb 2017 18:43:28 +0300
748276f
Subject: [PATCH] Don't escriptize
748276f
748276f
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
748276f
748276f
diff --git a/rebar.config b/rebar.config
e3498f4
index 0165452..7614e43 100644
748276f
--- a/rebar.config
748276f
+++ b/rebar.config
e3498f4
@@ -9,25 +9,7 @@
e3498f4
                 {"./README.md",
e3498f4
                  "http://github.com/uwiger/setup"}}]}
748276f
  ]}.
e3498f4
-{escript_main_app, setup}.
e3498f4
-{escript_name, setup_gen}.
e3498f4
-{escript_shebang, "#!/usr/bin/env escript\n"}.
e3498f4
-{escript_comment, "%%\n"}.
e3498f4
-{provider_hooks,
e3498f4
- [
e3498f4
-  {post, [
e3498f4
-          {compile, escriptize}
e3498f4
-         ]}
e3498f4
- ]}.
748276f
 
e3498f4
-{post_hooks, [{"(linux|darwin|solaris|freebsd|netbsd|openbsd)",
e3498f4
-               escriptize,
e3498f4
-               "cp \"$REBAR_BUILD_DIR/bin/setup_gen\" ./setup_gen"},
e3498f4
-              {"win32",
e3498f4
-               escriptize,
e3498f4
-               "robocopy \"%REBAR_BUILD_DIR%/bin/\" ./ setup_gen* "
e3498f4
-               "/njs /njh /nfl /ndl & exit /b 0"} % silence things
e3498f4
-             ]}.
748276f
 %% This line is to ensure that any erl_first_files setting from
748276f
 %% 'above' isn't accidentally inherited, since there seems to be
e3498f4
 %% a strange interaction between SNMP MIB compilation and escriptize.