diff --git a/Makefile b/Makefile index 014431f..b79d476 100644 --- a/Makefile +++ b/Makefile @@ -107,46 +107,11 @@ clean: @go clean @echo "โœ… Clean complete" -test: - @echo "๐Ÿงช Running tests..." - @go test -v ./... - -run: - @echo "๐Ÿš€ Running $(BINARY_NAME)..." - @go run -ldflags="$(LDFLAGS)" . - -dev: - @echo "๐Ÿš€ Running $(BINARY_NAME) in development mode..." - @go run . & - @echo "Daemon started on http://localhost:5055" - -# Code quality targets -fmt: - @echo "๐ŸŽจ Formatting code..." - @go fmt ./... - @echo "โœ… Format complete" - -vet: - @echo "๐Ÿ” Running go vet..." - @go vet ./... - @echo "โœ… Vet complete" - -check: fmt vet test - @echo "โœ… All checks passed" - -# Dependency management -deps-check: - @echo "๐Ÿ“ฆ Checking dependencies..." - @go mod verify - @go mod tidy - @echo "โœ… Dependencies verified" - # Version information version: @echo "Version: $(VERSION)" @echo "Git Commit: $(GIT_COMMIT)" @echo "Build Time: $(BUILD_TIME)" - @echo "Go Version: $(GO_VERSION)" install: build sudo cp $(BUILD_DIR)/$(BINARY_NAME) /usr/bin/ @@ -169,4 +134,4 @@ repo: package-all ./scripts/build-apt-repository.sh deploy-repo: repo - ./scripts/deploy-apt-repository.sh \ No newline at end of file + ./scripts/deploy-apt-repository.sh