-
Notifications
You must be signed in to change notification settings - Fork 6
/
Makefile
24 lines (18 loc) · 748 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
report:
go test -v ./... -coverprofile=coverage.out
go tool cover -html=coverage.out
code-log:
golangci-lint run ./... > error.log
code:
golangci-lint run ./...
mock:
mockery --name ClientGateway \
--case underscore \
--recursive --dir ./domain \
--outpkg clientmock --output ./gateway/clientmock
add_darwin_amd64:
install_name_tool -id gateway/client/lib/darwin/amd64/libton_client.dylib gateway/client/lib/darwin/amd64/libton_client.dylib
export CGO_LDFLAGS="-Lgateway/client/lib/darwin/amd64 -lton_client"
add_darwin_arm64:
install_name_tool -id gateway/client/lib/darwin/arm64/libton_client.dylib gateway/client/lib/darwin/arm64/libton_client.dylib
export CGO_LDFLAGS="-Lgateway/client/lib/darwin/arm64 -lton_client"