mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-04 20:48:59 +00:00
Adds windows swift support (#8622)
Adding support for windows requires the code generations to add a compiler statement to completely ignore GRPC code generation on windows Cleanup the project to use the main Package.swift to run tests instead of having it separate and includes the imports for GRPC within it. Adds windows swift ci
This commit is contained in:
@@ -23,7 +23,7 @@ from pathlib import Path
|
||||
from util import flatc, root_path, tests_path, args, flatc_path
|
||||
|
||||
# Specify the other paths that will be referenced
|
||||
swift_code_gen = Path(root_path, "tests/swift/tests/CodeGenerationTests")
|
||||
swift_code_gen = Path(root_path, "tests/swift/fuzzer/CodeGenerationTests")
|
||||
ts_code_gen = Path(root_path, "tests/ts")
|
||||
samples_path = Path(root_path, "samples")
|
||||
reflection_path = Path(root_path, "reflection")
|
||||
@@ -405,7 +405,7 @@ dictionary_lookup_schema = "dictionary_lookup.fbs"
|
||||
flatc(["--java", "--kotlin"], schema=dictionary_lookup_schema)
|
||||
|
||||
# Swift Tests
|
||||
swift_prefix = "swift/tests/Tests/FlatBuffers.Test.SwiftTests"
|
||||
swift_prefix = "swift/Tests/Flatbuffers"
|
||||
flatc(
|
||||
SWIFT_OPTS + BASE_OPTS + ["--grpc"],
|
||||
schema="monster_test.fbs",
|
||||
|
||||
Reference in New Issue
Block a user