mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-07 05:47:36 +00:00
* Adds Object-api support to swift * Fixed indentation issues * Removed indentation within namespaces
11 lines
333 B
Bash
11 lines
333 B
Bash
swift_dir=`pwd`
|
|
cd ..
|
|
test_dir=`pwd`
|
|
|
|
${test_dir}/../flatc --swift --gen-mutable --gen-object-api -I ${test_dir}/include_test ${test_dir}/monster_test.fbs ${test_dir}/union_vector/union_vector.fbs
|
|
cd ${test_dir}
|
|
mv *_generated.swift ${swift_dir}/Tests/FlatBuffers.Test.SwiftTests
|
|
cd ${swift_dir}
|
|
swift build --build-tests
|
|
swift test
|