diff options
author | Linus Nordberg <linus@nordberg.se> | 2014-11-03 13:39:47 +0100 |
---|---|---|
committer | Linus Nordberg <linus@nordberg.se> | 2014-11-03 13:42:28 +0100 |
commit | 9b76f88058b30b490dc99ffaa211d92b94a095bf (patch) | |
tree | c91a3b31ce19600e4ddad1e1d3336fd53450f9e4 | |
parent | d79c260758e7544dd46de2adfad85d1c0bee859b (diff) |
Protect rel/db when making 'release'.
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -3,6 +3,9 @@ build all: clean: -rm ebin/*.beam release: + test ! -f rel/db/treesize || \ + test $$(cat rel/db/treesize) = 0 && \ + rm -rf rel rm -rf rel mkdir rel ./makerelease.erl |