Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 493 Bytes

README.md

File metadata and controls

28 lines (21 loc) · 493 Bytes

Usage

Bash

docker run --rm -it ghcr.io/codeplaytech/flatbuffers:latest

Makefile

work_dir :=$(CURDIR)

flatc :=sudo docker run -it --rm \
	-v $(work_dir)/:/server \
	-w /server \
	ghcr.io/codeplaytech/flatbuffers:latest

flatc_opts :=--gen-onefile --gen-object-api --csharp

fb:
	@for f in $(shell find . -iname "*.fbs"); do \
		echo compiling $$f;  \
		$(flatc) $(flatc_opts)  $$f; \
	done

Build

推送 git tag 即可自动触发 github action 构建