From 6b091dc7ab2c4fdaed0675ab57ea05e4ddb81e5b Mon Sep 17 00:00:00 2001 From: admin Date: Wed, 11 Sep 2024 11:02:32 +0200 Subject: init --- Makefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..e8115cd --- /dev/null +++ b/Makefile @@ -0,0 +1,18 @@ +BINARY=hn-crawler + +all: build run + +build: + go build -o $(BINARY) + +run: + ./$(BINARY) + +info: build + ./$(BINARY) --loglevel=info + +debug: build + ./$(BINARY) -d + +clean: + rm $(BINARY) -- cgit v1.2.3