Skip to content

Commit a0339cc

Browse files
committed
added instruction for Makefile
1 parent ad481a2 commit a0339cc

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
*.dll
88
*.so
99
*.dylib
10+
main
1011

1112
# Test binary, built with `go test -c`
1213
*.test

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,28 @@ go fmt ./...
3030

3131
---
3232

33+
## Or use the Makefile instead
34+
35+
### Start API server
36+
37+
```sh
38+
make run
39+
```
40+
41+
### Run checks and tests
42+
43+
```sh
44+
make test
45+
```
46+
47+
### Format and fix SQL files
48+
49+
```sh
50+
make sql-fix
51+
```
52+
53+
---
54+
3355
## To use the Nix dev shell
3456

3557
1. [Install nix](https://determinate.systems/nix-installer/) and [direnv](https://direnv.net/docs/installation.html) if you don't already have them

0 commit comments

Comments
 (0)