[dev] regen
This commit is contained in:
20
Makefile
Normal file
20
Makefile
Normal file
@@ -0,0 +1,20 @@
|
||||
# calculate current dir
|
||||
ROOT_DIR:=$(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))
|
||||
|
||||
docker_gen:
|
||||
docker run --rm -v ${PWD}/proto/v1:/defs namely/protoc-all:1.51_2 -l go -d . -o .
|
||||
|
||||
# generate connectors for go and ts, docs, lint, validate from proto files
|
||||
# build and push new version:
|
||||
# make bp name=pb_builder version=pb_builder-0.0.1
|
||||
regen:
|
||||
cd ./v1 && \
|
||||
protoc --go_out=./ --go_opt=paths=source_relative --go-grpc_out=./ --go-grpc_opt=paths=source_relative ./plugin.proto
|
||||
|
||||
#docker build \
|
||||
# --file $(ROOT_DIR)/build/sdk.dockerfile \
|
||||
# --tag sdk:latest $(ROOT_DIR) && \
|
||||
# docker run \
|
||||
# --rm \
|
||||
# --volume $(ROOT_DIR)/sdk:/root/sdk \
|
||||
# --name sdk_1 sdk:latest
|
||||
Reference in New Issue
Block a user