cli + tui to publish to leaflet (wip) & manage tasks, notes & watch/read lists 馃崈
charm leaflet readability golang
29
fork

Configure Feed

Select the types of activity you want to include in your feed.

at f5d0c10ae23d9a239409f50aa6de4ece40a266e8 63 lines 1.2 kB view raw
1# Noteleaf project commands 2 3# Default recipe - show available commands 4default: 5 @just --list 6 7# Run all tests 8test: 9 go test ./... -v 10 11# Run tests with coverage 12coverage: 13 go test ./... -coverprofile=coverage.out 14 go tool cover -html=coverage.out -o coverage.html 15 @echo "Coverage report generated: coverage.html" 16 17# Run tests and show coverage in terminal 18cov: 19 go test ./... -coverprofile=coverage.out 20 go tool cover -func=coverage.out 21 22# Build the binary to /tmp/ 23build: 24 mkdir -p ./tmp/ 25 go build -o ./tmp/noteleaf ./cmd/ 26 @echo "Binary built: ./tmp/noteleaf" 27 28# Clean build artifacts 29clean: 30 rm -f coverage.out coverage.html 31 rm -rf /tmp/noteleaf 32 33# Run linting 34lint: 35 go vet ./... 36 go fmt ./... 37 38# Run all quality checks 39check: lint cov 40 41# Install dependencies 42deps: 43 go mod download 44 go mod tidy 45 46# Run the application (after building) 47run: build 48 /tmp/noteleaf/noteleaf 49 50# Show project status 51status: 52 @echo "Go version:" 53 @go version 54 @echo "" 55 @echo "Module info:" 56 @go list -m 57 @echo "" 58 @echo "Dependencies:" 59 @go list -m all | head -10 60 61# Quick development workflow 62dev: clean lint test build 63 @echo "Development workflow complete!"