diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile index 60867aa..dc4c4ed 100644 --- a/Makefile +++ b/Makefile @@ -17,16 +17,19 @@ SHELL = /bin/sh PREFIX ?= /usr/local -.PHONY: man all clean install uninstall +.PHONY: man all clean check install uninstall -all: bin +all: hybring -bin: $(wildcard src/*.cr) +hybring: $(wildcard src/*.cr) crystal build -o hybring src/cli.cr clean: rm hybring +check: $(wildcard spec/*.cr) + crystal spec --order random spec/server.cr + install: all install -Dm 755 hybring ${DESTDIR}${PREFIX}/bin/hybring |