efl/.ci/docker-ccache-setup.sh

12 lines
223 B
Bash
Executable File

#!/bin/sh
CI_BUILD_TYPE="$1"
cp .ci/ccache.conf ~/.ccache
if [ "$1" = "release-ready" ] ; then
ccache -o base_dir="$(pwd)/$(grep '^PACKAGE_STRING' config.log|cut -d\' -f2|tr ' ' -)"
else
ccache -o base_dir=$(pwd)
fi