Skip to content
This repository was archived by the owner on Feb 8, 2019. It is now read-only.

Commit

Permalink
automate building process
Browse files Browse the repository at this point in the history
  • Loading branch information
BernardoGiordano committed Sep 2, 2018
1 parent 88ac0bd commit 4409730
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
out
java/bin
java/build
go/servepkx.exe
Expand Down
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
SUBDIRS = go java
OUT = out

all:
@for dir in $(SUBDIRS); do $(MAKE) -C $$dir; done
@mkdir -p $(OUT)
@mv go/servepkx.exe go/servepkx_linux go/servepkx_mac java/build/servepkx.jar $(OUT)
@zip -r $(OUT)/servepkx.zip $(OUT)

clean:
@rm -fr $(OUT)
@for dir in $(SUBDIRS); do $(MAKE) clean -C $$dir; done

0 comments on commit 4409730

Please sign in to comment.