Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
.PHONY: all deps test build

all: deps test build

deps:
@go mod vendor
@go mod tidy

test:
@go vet ./{internal,resources}/...
@go test -v -race -cover ./{cmd,handler}/...

install:
@go install .
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,9 @@ where *8888* is a port to listen on.
/missions/{mission-id} # get mission by it's id
/explorers/{explorer-address} # get missions joined by explorer address
```

#### Running tests
From the root of the project, run
```sh
make test
```
Empty file added tests/.gitkeep
Empty file.