Add files via upload

This commit is contained in:
Tomáš Dvořák
2025-05-22 12:01:13 +02:00
committed by GitHub
parent a10848bc72
commit 3ac3e9e407
2 changed files with 60 additions and 141 deletions
+22
View File
@@ -0,0 +1,22 @@
# Makefile for kontakt service
.PHONY: dev run build clean
PORT ?= 8081
BINARY_NAME := kontakt-service
BUILD_DIR := build
##@ Development
dev: ## Run in development mode
@echo "Starting kontakt service..."
@go run contact-scrape.go
run: build ## Run built binary
@$(BUILD_DIR)/$(BINARY_NAME)
build: ## Build the application
@echo "Building kontakt service..."
@go build -o $(BUILD_DIR)/$(BINARY_NAME) contact-scrape.go
clean: ## Clean build artifacts
@rm -rf $(BUILD_DIR)
@echo "Build artifacts removed"