Skip to content

Commit

Permalink
Updated makefile completion message
Browse files Browse the repository at this point in the history
  • Loading branch information
jlabusch committed May 22, 2016
1 parent 869e0bb commit 4b0301c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,16 @@ images:

dist:
for i in $(IMAGES); do $(DOCKER) save -o $$(basename $$i).tar $$i; done
tar -jcvf reveal-sync_$$(date +%Y-%m-%d).tbz2 reveal-sync*.tar
rm -v reveal-sync*.tar
@echo "*** Now copy reveal-sync*.tar.gz to your server."
@DAYSTAMP=$$(date +%Y-%m-%d); \
tar -jcvf reveal-sync_$$DAYSTAMP.tbz2 reveal-sync*.tar && \
rm -vf reveal-sync_{app,static}.tar && \
echo "*** Now copy reveal-sync_$$DAYSTAMP.tbz2 to your server."

run:
$(COMPOSE) up -d
$(COMPOSE) logs

clean:
$(DOCKER) rmi $$($(DOCKER) images --filter dangling=true -q) $(IMAGES) || :
rm -f reveal_sync*.tar *.tbz2

0 comments on commit 4b0301c

Please sign in to comment.