summaryrefslogtreecommitdiffstats
path: root/default.flat.do
diff options
context:
space:
mode:
Diffstat (limited to 'default.flat.do')
-rw-r--r--default.flat.do14
1 files changed, 0 insertions, 14 deletions
diff --git a/default.flat.do b/default.flat.do
deleted file mode 100644
index e8b2558..0000000
--- a/default.flat.do
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/usr/bin/env bash
-set -e
-src=${1%.flat}
-dir=${src%%_*}
-file=${src#*_}
-src=res/$dir/$file
-redo-ifchange .vars.rc
-. ./.vars.rc
-redo-ifchange "$BUILD_TOOLS/aapt2" "$src"
-tmp=$(mktemp)
-trap 'rm -f "$tmp"' EXIT
-"$BUILD_TOOLS/aapt2" compile -o "$tmp" "$src"
-unzip -p "$tmp" >"$3"
-# vim:ft=bash