Remove fragile file-based versioning #537

Merged
zxq9 merged 1 commits from vsn into master 2019-03-15 19:12:42 +09:00
3 changed files with 1 additions and 7 deletions

View File

@ -1 +0,0 @@
2.0.0

View File

@ -15,11 +15,6 @@
{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"},

View File

@ -1,6 +1,6 @@
{application, aesophia,
[{description, "Contract Language for aeternity"},
{vsn, {cmd, "cat VERSION | tr -d '[:space:]'"}},
{vsn, "2.0.0"},
{registered, []},
{applications,
[kernel,