summaryrefslogtreecommitdiff
path: root/tests/generate_code.sh
diff options
context:
space:
mode:
authormustiikhalil <mustii@mmk.one>2021-02-19 12:47:28 +0300
committerGitHub <noreply@github.com>2021-02-19 12:47:28 +0300
commitae603b9770ee336ad8e7c6e696a8912d63d76c2a (patch)
treeec612b6b132c2f3b8d7e9301c79b638bb2a62da3 /tests/generate_code.sh
parent7f47718b6df1ee40777a9d6bd192eae0ec1c4bb2 (diff)
downloadflatbuffers-ae603b9770ee336ad8e7c6e696a8912d63d76c2a.tar.gz
flatbuffers-ae603b9770ee336ad8e7c6e696a8912d63d76c2a.tar.bz2
flatbuffers-ae603b9770ee336ad8e7c6e696a8912d63d76c2a.zip
[Swift] adds support for default vectors and strings (#6461)
Small fix Adhere to the new protocol names
Diffstat (limited to 'tests/generate_code.sh')
-rwxr-xr-xtests/generate_code.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/generate_code.sh b/tests/generate_code.sh
index 0f374f6f..a308611c 100755
--- a/tests/generate_code.sh
+++ b/tests/generate_code.sh
@@ -69,9 +69,10 @@ $TEST_NOINCL_FLAGS $TEST_CPP_FLAGS $TEST_CS_FLAGS $TEST_JS_TS_FLAGS -o namespace
working_dir=`pwd`
cd FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests
-$working_dir/../flatc --swift --grpc $TEST_NOINCL_FLAGS $TEST_CPP_FLAGS $TEST_CS_FLAGS -I ../../../include_test ../../../monster_test.fbs
-$working_dir/../flatc --swift $TEST_BASE_FLAGS $TEST_CPP_FLAGS $TEST_CS_FLAGS ../../../union_vector/union_vector.fbs
-$working_dir/../flatc --swift ../../../optional_scalars.fbs
+$working_dir/../flatc --swift --grpc $TEST_NOINCL_FLAGS $TEST_CPP_FLAGS $TEST_CS_FLAGS -I ${working_dir}/include_test ${working_dir}/monster_test.fbs
+$working_dir/../flatc --swift $TEST_BASE_FLAGS $TEST_CPP_FLAGS $TEST_CS_FLAGS ${working_dir}/union_vector/union_vector.fbs
+$working_dir/../flatc --swift ${working_dir}/optional_scalars.fbs
+$working_dir/../flatc --swift --gen-object-api ${working_dir}/more_defaults.fbs
cd $working_dir
cd FlatBuffers.GRPC.Swift/Sources/Model