-
Notifications
You must be signed in to change notification settings - Fork 8
/
Makefile
36 lines (27 loc) · 1.31 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
.PHONY: test
test:
go test -v ./...
.PHONY: unit
unit:
go test -v ./...
.PHONY: grpc-examples
grpc-examples:
go run ./examples/grpcclient/main.go
.PHONY: http-examples
http-examples:
go run ./examples/httpclient/main.go
.PHONY: ws-examples
ws-examples:
go run ./examples/wsclient/main.go
.PHONY: ssl-testnet ssl-mainnet cred-github environment-dev
environment-dev: ssl-testnet cred-github
ssl-testnet:
mkdir -p $(CURDIR)/ssl/testnet/bloxroute_cloud_api/registration_only
aws s3 cp s3://internal-credentials.bxrtest.com/bloxroute_cloud_api/registration_only/bloxroute_cloud_api_cert.pem $(CURDIR)/ssl/testnet/bloxroute_cloud_api/registration_only/
aws s3 cp s3://internal-credentials.bxrtest.com/bloxroute_cloud_api/registration_only/bloxroute_cloud_api_key.pem $(CURDIR)/ssl/testnet/bloxroute_cloud_api/registration_only/
ssl-mainnet:
mkdir -p $(CURDIR)/ssl/bloxroute_cloud_api/registration_only
aws s3 cp s3://internal-credentials.blxrbdn.com/bloxroute_cloud_api/registration_only/bloxroute_cloud_api_cert.pem $(CURDIR)/ssl/bloxroute_cloud_api/registration_only/
aws s3 cp s3://internal-credentials.blxrbdn.com/bloxroute_cloud_api/registration_only/bloxroute_cloud_api_key.pem $(CURDIR)/ssl/bloxroute_cloud_api/registration_only/
cred-github:
aws s3 cp s3://files.bloxroute.com/trader-api/.netrc $(CURDIR)/.netrc