Files
go-mdtopdf-helper/Makefile
T
Hein 50b7246c21 feat(engine): add Chromedp and Wkhtmltopdf engines for PDF conversion
* implement gopdfEngine for direct PDF rendering
* create HTML rendering function for markdown
* add tests for engine functionality
* remove main.go as entry point
2026-10-08 16:42:47 +02:00

26 lines
332 B
Makefile

BINARY := go-mdtopdf-helper
BIN_DIR := bin
CMD := ./cmd/go-mdtopdf-helper
.PHONY: all build run test lint format clean
all: format lint test build
build:
go build -o $(BIN_DIR)/$(BINARY) $(CMD)
run:
go run $(CMD) $(ARGS)
test:
go test ./...
lint:
golangci-lint run ./...
format:
gofmt -s -w .
clean:
rm -rf $(BIN_DIR)