From 75e35ff084335589f06a725115997f56f84bcc1c Mon Sep 17 00:00:00 2001 From: guilherme Date: Fri, 24 Nov 2023 09:21:49 +1030 Subject: [PATCH] ci: added target make kill --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 57ec3b6..3b2fa45 100644 --- a/Makefile +++ b/Makefile @@ -21,6 +21,10 @@ dry-run: @echo "Running dry-run..." $(DART_CMD) pub publish --dry-run +.PHONY: kill +kill: + @echo "Killing service..." + @kill -9 $(shell lsof -t -i:8181) || echo "Port 8181 is not in use" .PHONY: test test: