Files
client-sdk-flutter/Makefile
David Zhao 9518a2f123 pass SDK and version number to server, v0.5.0 (#14)
* pass SDK and version number to server, v0.5.0

* missing files and formatting

* make format

* line length comment for VSCode
2021-10-01 13:35:32 -07:00

17 lines
373 B
Makefile

PROTO_DIR="../protocol"
proto:
@{ \
if [ -d "$(PROTO_DIR)" ]; \
then \
protoc --dart_out=lib/src/proto -I$(PROTO_DIR) $(PROTO_DIR)/livekit_rtc.proto $(PROTO_DIR)/livekit_models.proto; \
else \
echo "../protocol is not found. github.com/livekit/protocol must be checked out"; \
fi \
}
format:
flutter format --set-exit-if-changed -l 100 .
.PHONY: proto format