mirror of
https://github.com/google/flatbuffers.git
synced 2026-07-05 18:46:53 +00:00
add rest of golden language directories
This commit is contained in:
10
goldens/swift/generate.py
Normal file
10
goldens/swift/generate.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from golden_utils import flatc_golden
|
||||
|
||||
|
||||
def flatc(options, schema):
|
||||
# Wrap the golden flatc generator with Swift specifics
|
||||
flatc_golden(options=["--swift"] + options, schema=schema, prefix="swift")
|
||||
|
||||
|
||||
def GenerateSwift():
|
||||
flatc([], "basic.fbs")
|
||||
Reference in New Issue
Block a user