Files
alexandrev-tibco 6b405419cf +1
2026-02-01 22:47:26 +01:00

19 lines
363 B
Makefile

APP_NAME=portfoliojournal-og
BUILD_DIR=bin
PORT?=8090
.PHONY: build run clean install-service
build:
@mkdir -p $(BUILD_DIR)
GO111MODULE=on go build -o $(BUILD_DIR)/$(APP_NAME) .
run:
PORT=$(PORT) GO111MODULE=on go run .
clean:
@rm -rf $(BUILD_DIR)
install-service: build
@echo "Install the binary and OpenRC service using the instructions in README.md"