From d378edca8215080fb0a86899f6dc52643bdb0852 Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Tue, 7 Mar 2023 02:29:15 +0900 Subject: Add integration tests for HTTP API --- Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'Makefile') 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 -- cgit 1.4.1