Openstatus www.openstatus.dev
at main 25 lines 333 B view raw
1# Simple Makefile for a Go project 2 3# Build the application 4all: build test 5 6build: 7 echo "Building..." 8 9 10 go build -o main cmd/server/main.go 11dev: 12 air 13# Run the application 14run: 15 go run cmd/server/main.go 16 17# Test the application 18test: 19 echo "Testing..." 20 go test ./... -v 21 22# Clean the binary 23clean: 24 echo "Cleaning..." 25 rm -f main