mirror of
https://github.com/mitchell/selfpass.git
synced 2025-12-13 21:07:22 +00:00
First iteration of selfpass gRPC backend, w/ credentials CRUD functional
This commit is contained in:
commit
719a462048
15 changed files with 1610 additions and 0 deletions
21
Makefile
Normal file
21
Makefile
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
.PHONY: all build clean format test
|
||||
|
||||
build: clean format test
|
||||
go build -o ./bin/server ./cmd/server/server.go
|
||||
|
||||
clean:
|
||||
rm -rf ./bin
|
||||
go mod tidy
|
||||
|
||||
dev: build
|
||||
./bin/server --dev
|
||||
|
||||
format:
|
||||
goimports -w -l .
|
||||
|
||||
gen-protoc:
|
||||
protoc --go_out=plugins=grpc:. \
|
||||
./credentials/protobuf/service.proto
|
||||
|
||||
test:
|
||||
go test -cover ./...
|
||||
Loading…
Add table
Add a link
Reference in a new issue