From 16a36c812fabda812ecf3aaa7f12fa6f44c66b2e Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Fri, 21 Apr 2023 23:50:38 +0100 Subject: Jetpack Compose and material --- default.flat.zip.do | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 default.flat.zip.do (limited to 'default.flat.zip.do') diff --git a/default.flat.zip.do b/default.flat.zip.do new file mode 100755 index 0000000..90da780 --- /dev/null +++ b/default.flat.zip.do @@ -0,0 +1,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 -- cgit v1.2.3-54-g00ecf