tile38/Makefile
Tobi 75e0abfe51
CI improvements (#1)
This PR contains:
* Automatic version detection by using git tags
* Fix for the Makefile (double package target)
* Enable Travis CI to build the Docker images and push to Docker Hub
2018-04-24 08:39:29 +02:00

22 lines
426 B
Makefile

all:
@./build.sh
clean:
rm -f tile38-server
rm -f tile38-cli
rm -f tile38-benchmark
rm -f tile38-luamemtest
test:
@./build.sh test
cover:
@./build.sh cover
install: all
cp tile38-server /usr/local/bin
cp tile38-cli /usr/local/bin
cp tile38-benchmark /usr/local/bin
uninstall:
rm -f /usr/local/bin/tile38-server
rm -f /usr/local/bin/tile38-cli
rm -f /usr/local/bin/tile38-benchmark
package:
@./build.sh package