Skip to content

Commit

Permalink
Add automatic zipping (via 7z) to release goal
Browse files Browse the repository at this point in the history
  • Loading branch information
d0k3 committed Oct 18, 2015
1 parent acd94e9 commit ed53e43
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -151,14 +151,15 @@ release:
@-cp $(OUTPUT).3dsx $(CURDIR)/release/$(TARGET)
@-cp $(OUTPUT).smdh $(CURDIR)/release/$(TARGET)
@cp $(CURDIR)/scripts/*.py $(CURDIR)/release/scripts
@mv --no-target-directory $(CURDIR)/release $(CURDIR)/$(TARGET)-d0k3-`date +'%Y%m%d-%H%M%S'`
@7z a $(CURDIR)/release/$(TARGET)-d0k3-`date +'%Y%m%d-%H%M%S'`.zip $(CURDIR)/release/*
#@mv --no-target-directory $(CURDIR)/release $(CURDIR)/$(TARGET)-d0k3-`date +'%Y%m%d-%H%M%S'`

#---------------------------------------------------------------------------------
clean:
@echo clean ...
@-make clean --no-print-directory -C CakeHax
@-make clean --no-print-directory -C BrahmaLoader
@rm -fr $(BUILD) $(OUTPUT_D) $(TARGET)-d0k3-*
@rm -fr $(BUILD) $(OUTPUT_D) release $(TARGET)-d0k3-*


#---------------------------------------------------------------------------------
Expand Down

0 comments on commit ed53e43

Please sign in to comment.