Various improvements.

This commit is contained in:
2026-02-21 00:34:57 +01:00
parent 8670c509e8
commit 09a1c8dd26
6 changed files with 160 additions and 11 deletions

15
Makefile Normal file
View File

@@ -0,0 +1,15 @@
APP_EXAMPLE := triplex-example
.PHONY: test build-example run-example fmt
test:
go test ./...
build-example:
go build -o bin/$(APP_EXAMPLE) ./cmd/$(APP_EXAMPLE)
run-example:
go run ./cmd/$(APP_EXAMPLE)
fmt:
gofmt -w ./serial/*.go ./cmd/$(APP_EXAMPLE)/*.go