mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-08 11:57:51 +00:00
Update lattice makefile to reflect new structure
This commit is contained in:
parent
4aaf3e2fc2
commit
e4a8293c0e
1 changed files with 5 additions and 5 deletions
|
|
@ -1,13 +1,13 @@
|
|||
.PHONY: proto run-pilosa run-app
|
||||
|
||||
proto: pilosa
|
||||
docker run --rm -v $(PWD)/pilosa:/pilosa -w /pilosa/proto/ jfbrandhorst/grpc-web-generators protoc -I/usr/include -I. --plugin=protoc-gen-ts=/usr/local/bin/protoc-gen-ts --js_out=import_style=commonjs,binary:. --ts_out=service=grpc-web:. pilosa.proto
|
||||
(echo "/* eslint-disable */"; cat pilosa/proto/pilosa_pb.js; echo "/* eslint-enable */") > src/proto/pilosa_pb.js
|
||||
(echo "/* eslint-disable */"; cat pilosa/proto/pilosa_pb_service.js; echo "/* eslint-enable */") > src/proto/pilosa_pb_service.js
|
||||
cp pilosa/proto/pilosa_pb.d.ts pilosa/proto/pilosa_pb_service.d.ts src/proto
|
||||
docker run --rm -v $(PWD)/..:/pilosa -w /pilosa/proto/ jfbrandhorst/grpc-web-generators protoc -I/usr/include -I. --plugin=protoc-gen-ts=/usr/local/bin/protoc-gen-ts --js_out=import_style=commonjs,binary:. --ts_out=service=grpc-web:. pilosa.proto
|
||||
(echo "/* eslint-disable */"; cat ../proto/pilosa_pb.js; echo "/* eslint-enable */") > src/proto/pilosa_pb.js
|
||||
(echo "/* eslint-disable */"; cat ../proto/pilosa_pb_service.js; echo "/* eslint-enable */") > src/proto/pilosa_pb_service.js
|
||||
cp ../proto/pilosa_pb.d.ts ../proto/pilosa_pb_service.d.ts src/proto
|
||||
|
||||
pilosa:
|
||||
git clone git@github.com:molecula/pilosa.git
|
||||
cd .. && git checkout master && git pull
|
||||
|
||||
run-pilosa:
|
||||
pilosa server --handler.allowed-origins http://localhost:3000
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue