Dev Tools

Makefile Generator

Generate Makefiles with common targets (build, test, clean, docker) for various project types.

Project Type Preset
Variables (optional)
Targets
Generated Makefile
APP_NAME := my-app

.PHONY: build test lint clean docker-build run

.DEFAULT_GOAL := build

build:
	go build -o bin/app ./cmd/app

test:
	go test ./...

lint:
	golangci-lint run

clean:
	rm -rf bin/

docker-build:
	docker build -t my-app .

run:
	go run ./cmd/app
Was this page helpful?

Related tools