First not working app skeleton with nix support and dependency setup and generated logo not final structure
This commit is contained in:
27
Makefile
Normal file
27
Makefile
Normal file
@@ -0,0 +1,27 @@
|
||||
######################
|
||||
# Makefile for QRank #
|
||||
######################
|
||||
|
||||
# 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
|
||||
|
||||
# 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