Merge pull request #45 from aeternity/PT-164655050-fail-on-removed-VERSION
Check that VERSION file exists
This commit is contained in:
commit
188916c61f
@ -15,6 +15,11 @@
|
||||
{escript_emu_args, "%%! \n"}.
|
||||
{provider_hooks, [{post, [{compile, escriptize}]}]}.
|
||||
|
||||
{pre_hooks, [{"(linux|darwin|solaris|freebsd|netbsd|openbsd)",
|
||||
app_compile,
|
||||
"test -e VERSION"}
|
||||
]}.
|
||||
|
||||
{post_hooks, [{"(linux|darwin|solaris|freebsd|netbsd|openbsd)",
|
||||
escriptize,
|
||||
"cp \"$REBAR_BUILD_DIR/bin/aesophia\" ./aesophia"},
|
||||
|
Loading…
x
Reference in New Issue
Block a user