mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-03-20 01:29:00 +00:00
18 lines
475 B
Bash
Executable File
18 lines
475 B
Bash
Executable File
#!/bin/bash
|
|
|
|
class_dir=bin/classes/com/arm/wlauto/uiauto
|
|
base_classes=`python -c "import os, wlauto; print os.path.join(os.path.dirname(wlauto.__file__), 'common', 'android', '*.class')"`
|
|
mkdir -p $class_dir
|
|
cp $base_classes $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.skype.jar ]]; then
|
|
cp bin/com.arm.wlauto.uiauto.skype.jar ..
|
|
fi
|