Home
last modified time | relevance | path

Searched refs:sampledir (Results 1 – 9 of 9) sorted by relevance

/external/flatbuffers/samples/
Dkotlin_sample.sh20 sampledir=$(cd $(dirname $BASH_SOURCE) && pwd)
21 rootdir=$(cd $sampledir/.. && pwd)
24 if [[ "$sampledir" != "$currentdir" ]]; then
25 echo Error: This script must be run from inside the $sampledir directory.
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
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
Dgo_sample.sh20 sampledir=$(cd $(dirname $BASH_SOURCE) && pwd)
21 rootdir=$(cd $sampledir/.. && pwd)
24 if [[ "$sampledir" != "$currentdir" ]]; then
25 echo Error: This script must be run from inside the $sampledir directory.
47 mkdir -p ${sampledir}/go_gen/src/MyGame/Sample
48 mkdir -p ${sampledir}/go_gen/src/github.com/google/flatbuffers/go
49 cp MyGame/Sample/*.go ${sampledir}/go_gen/src/MyGame/Sample/
50 cp ${sampledir}/../go/* ${sampledir}/go_gen/src/github.com/google/flatbuffers/go
54 export GOPATH=${sampledir}/go_gen/
62 rm -rf ${sampledir}/go_gen/
Djava_sample.sh20 sampledir=$(cd $(dirname $BASH_SOURCE) && pwd)
21 rootdir=$(cd $sampledir/.. && pwd)
24 if [[ "$sampledir" != "$currentdir" ]]; then
25 echo Error: This script must be run from inside the $sampledir directory.
45 javac -classpath ${sampledir}/../java:${sampledir} SampleBinary.java
46 java -classpath ${sampledir}/../java:${sampledir} SampleBinary
50 rm ${sampledir}/../java/com/google/flatbuffers/*.class
Dphp_sample.sh20 sampledir=$(cd $(dirname $BASH_SOURCE) && pwd)
21 rootdir=$(cd $sampledir/.. && pwd)
24 if [[ "$sampledir" != "$currentdir" ]]; then
25 echo Error: This script must be run from inside the $sampledir directory.
Djavascript_sample.sh20 sampledir=$(cd $(dirname $BASH_SOURCE) && pwd)
21 rootdir=$(cd $sampledir/.. && pwd)
24 if [[ "$sampledir" != "$currentdir" ]]; then
25 echo Error: This script must be run from inside the $sampledir directory.
Dpython_sample.sh20 sampledir=$(cd $(dirname $BASH_SOURCE) && pwd)
21 rootdir=$(cd $sampledir/.. && pwd)
24 if [[ "$sampledir" != "$currentdir" ]]; then
25 echo Error: This script must be run from inside the $sampledir directory.
Ddart_sample.sh20 sampledir=$(cd $(dirname $BASH_SOURCE) && pwd)
21 rootdir=$(cd $sampledir/.. && pwd)
24 if [[ "$sampledir" != "$currentdir" ]]; then
25 echo Error: This script must be run from inside the $sampledir directory.
Dcsharp_sample.sh20 sampledir=$(cd $(dirname $BASH_SOURCE) && pwd)
21 rootidr=$(cd $sampledir/.. && pwd)
24 if [[ "$sampledir" != "$currentdir" ]]; then
25 echo Error: This script must be run from inside the $sampledir directory.
Dandroid_sample.sh21 sampledir=$(readlink -fn `dirname $0`)
24 if [[ "$sampledir" != "$currentdir" ]]; then
25 echo Error: This script must be run from inside the $sampledir directory.