Something went wrong. Try again.
🚀 Grammar-Aware Code Formatter: Structure through separation (supports Go, JavaScript, TypeScript, JSX, and TSX)
go formatter code-formatter javascript typescript jsx tsx
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263version: "3"
vars: BINARY: iku
tasks: default: desc: Build the application cmds: - task: build
build: desc: Build the binary with optimisations cmds: - go build -ldflags="-s -w" -o {{.BINARY}} . sources: - ./**/*.go generates: - ./{{.BINARY}}
run: desc: Build and run the application deps: [build] cmds: - ./{{.BINARY}}
install: desc: Install the binary to GOPATH/bin deps: [build] cmds: - cp {{.BINARY}} ${GOPATH:-~/go}/bin/{{.BINARY}}
clean: desc: Remove build artifacts cmds: - rm -f {{.BINARY}} - go clean
test: desc: Run tests cmds: - go test ./...
bench: desc: Run benchmarks cmds: - go test -bench=. -benchmem ./...
fmt: desc: Format code cmds: - iku -w . || go fmt ./...
lint: desc: Run linter cmds: - golangci-lint run
dev: desc: Build and run in development mode cmds: - go run .