-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
26 lines (23 loc) · 806 Bytes
/
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
build:
@protoc src/interfaces/rpcnode/rpcnode.proto --go_out=plugins=grpc:.
# go test || echo "error"
go interfaces/restful || echo "error"
./swag init \
--exclude src/github.com \
--exclude src/golang.org \
--exclude src/google.golang.org \
-g init.go \
-o api -d src/interfaces/restful || exit 0
redoc-cli bundle -o api/api.html api/swagger.json
# sshpass -p "iwdokserver" scp api.html iwdok@iwdok.team:/var/www/html/iwdok/mostik_dosc
install:
go get github.com/hoisie/web
go get google.golang.org/grpc
go get github.com/hoisie/web
go get google.golang.org/grpc/encoding/proto
go get github.com/sirupsen/logrus
go get github.com/patrickmn/go-cache
go get github.com/DATA-DOG/go-txdb
go get github.com/jinzhu/gorm
go get github.com/go-sql-driver/mysql
go get github.com/google/uuid