Stripped lots of boilerplate prepare for minimal test branch
This commit is contained in:
18
Makefile
18
Makefile
@@ -4,24 +4,8 @@
|
||||
|
||||
# Main target
|
||||
run:
|
||||
go run ./cmd
|
||||
|
||||
# Formatting the whole codebase
|
||||
format:
|
||||
gofmt -w ./src
|
||||
gofmt -w ./cmd
|
||||
|
||||
# Test in verbose mode
|
||||
test:
|
||||
go test ./src -v
|
||||
go test ./cmd -v
|
||||
go run ./src
|
||||
|
||||
# Nix stuff
|
||||
nix-run:
|
||||
nix develop --command make run
|
||||
|
||||
nix-test:
|
||||
nix develop --command make test
|
||||
|
||||
nix-format:
|
||||
nix develop --command make format
|
||||
|
||||
Reference in New Issue
Block a user