summaryrefslogtreecommitdiffstats
path: root/default.flat.zip.do
blob: 90da7807a7164abee3bae01b494df26ce74b8ec5 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env bash
set -e
src=${1%.flat.zip}
dir=${src%%_*}
file=${src#*_}
src=res/$dir/$file
redo-ifchange .vars.rc
. ./.vars.rc
redo-ifchange "$BUILD_TOOLS/aapt2" "$src"
"$BUILD_TOOLS/aapt2" compile -o "$3" "$src"
# vim:ft=bash