commit 6da1cf79d90eb242e7da5318241d42279a3df3ba Author: Max Burke <max@urbanlogiq.com> Date: Sun Jan 19 14:47:28 2020 -0800 [rust] Add use declarations to Rust-generated bindings for imported FB definitions (#5645) * Bugfix for Rust generation of union fields named with language keywords
10 lines
315 B
Bash
10 lines
315 B
Bash
swift_dir=`pwd`
|
|
cd ..
|
|
test_dir=`pwd`
|
|
|
|
${test_dir}/../flatc --swift --gen-mutable -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 |