Lines Matching +full:build +full:- +full:kotlin +full:- +full:linux
9 # http://www.apache.org/licenses/LICENSE-2.0
17 # Note: This script runs on Mac and Linux. It requires `kotlin` to be installed
32 if [ -e ../flatc ]; then
34 ../flatc --kotlin --gen-mutable monster.fbs
35 elif [ -e ../Debug/flatc ]; then
36 ../Debug/flatc --kotlin --gen-mutable monster.fbs
38 echo 'flatc' could not be found. Make sure to build FlatBuffers from the \
43 echo Compiling and running the Kotlin sample
45 all_kt_files=`find $sampledir -name "*.kt" -print`
47 mkdir -v "${sampledir}/kotlin"
49 javac ${rootdir}/java/com/google/flatbuffers/*.java -d ${sampledir}/kotlin
50 echo Compiling Kotlin source
51 kotlinc -classpath ${sampledir}/../java:${sampledir}/kotlin $all_kt_files SampleBinary.kt -include-…
54 jar cvf ${sampledir}/kotlin/kotlin_sample.jar -C ${sampledir}/kotlin . > /dev/null
56 kotlin -cp ${sampledir}/kotlin/kotlin_sample.jar SampleBinary
59 rm -rf MyGame/
60 # rm -rf ${sampledir}/kotlin