|
|
@ -36,5 +36,15 @@ |
|
|
|
verbose |
|
|
|
]}. |
|
|
|
|
|
|
|
{pre_hooks, [{"", compile, "escript bin/enc compile"}]}. |
|
|
|
{post_hooks, [{"", clean, "escript bin/enc clean"}]}. |
|
|
|
{pre_hooks, |
|
|
|
[ |
|
|
|
{"(linux|solaris|freebsd|netbsd|openbsd|dragonfly|darwin|gnu)", compile, "./configure && escript enc compile"}, |
|
|
|
{"(win32|win64)", compile, "./configure.ps1 && escript enc compile"} |
|
|
|
] |
|
|
|
}. |
|
|
|
{post_hooks, |
|
|
|
[ |
|
|
|
{"(linux|solaris|freebsd|netbsd|openbsd|dragonfly|darwin|gnu)", clean, "./configure && escript enc clean"}, |
|
|
|
{"(win32|win64)", clean, "./configure.ps1 && escript enc clean"} |
|
|
|
] |
|
|
|
}. |