Skip to content

Commit

Permalink
tar and publish rule
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffroy committed Jun 20, 2011
1 parent f0756cb commit e9bce4f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -7,3 +7,4 @@ error.log
.mlstate
*\.opx
opa-debug
main.exe.tar.gz
6 changes: 5 additions & 1 deletion Makefile
Expand Up @@ -3,6 +3,10 @@ all: build
run:
./main.exe #-d --display-logs --verbose 6
build: main.exe
tar: build
tar -czf main.exe.tar.gz main.exe
publish: tar
rsync -vah --progress main.exe.tar.gz webgldemo@webgldemo.iserver.pro:

main.exe:
cd plugins && make all && cd -
Expand All @@ -23,6 +27,6 @@ main.exe:

clean:
cd plugins && make clean
rm -rf _build _tracks \.mlstate main.exe src/main.exe *\.opx *\.opx.broken
rm -rf _build _tracks \.mlstate main.exe src/main.exe *\.opx *\.opx.broken main.exe.tar.gz

.PHONY: all run build clean main.exe

0 comments on commit e9bce4f

Please sign in to comment.