mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-03-21 01:59:13 +00:00
18 lines
479 B
Bash
18 lines
479 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
class_dir=bin/classes/com/arm/wlauto/uiauto
|
||
|
base_class=`python -c "import os, wlauto; print os.path.join(os.path.dirname(wlauto.__file__), 'common', 'android', '*.class')"`
|
||
|
mkdir -p $class_dir
|
||
|
cp $base_class $class_dir
|
||
|
|
||
|
ant build
|
||
|
|
||
|
exit_code=$?
|
||
|
if [[ $exit_code -ne 0 ]]; then
|
||
|
echo "ERROR: ant build exited with code $exit_code" && exit $exit_code
|
||
|
fi
|
||
|
|
||
|
if [[ -f bin/com.arm.wlauto.uiauto.skypeecho.jar ]]; then
|
||
|
cp bin/com.arm.wlauto.uiauto.skypeecho.jar ..
|
||
|
fi
|