Files
flatbuffers/goldens/ts/generate.py
2023-05-05 14:15:48 -07:00

11 lines
247 B
Python

from golden_utils import flatc_golden
def flatc(options, schema):
# Wrap the golden flatc generator with Swift specifics
flatc_golden(options=["--ts"] + options, schema=schema, prefix="ts")
def GenerateTs():
flatc([], "basic.fbs")