A deployable markdown editor that connects with your self hosted files and lets you edit in a beautiful interface
at main 34 lines 530 B view raw
1.PHONY: run build test clean migrate-up migrate-down 2 3# Run the server 4run: 5 go run cmd/server/main.go 6 7# Build the binary 8build: 9 go build -o bin/markedit cmd/server/main.go 10 11# Run tests 12test: 13 go test -v ./... 14 15# Clean build artifacts 16clean: 17 rm -rf bin/ 18 19# Run migrations up 20migrate-up: 21 @echo "Migrations will be implemented later" 22 23# Run migrations down 24migrate-down: 25 @echo "Migrations will be implemented later" 26 27# Install dependencies 28deps: 29 go mod download 30 go mod tidy 31 32# Development watch mode (requires air) 33dev: 34 air