diff options
author | Tomasz Kramkowski <tomasz@kramkow.ski> | 2023-04-21 23:50:38 +0100 |
---|---|---|
committer | Tomasz Kramkowski <tomasz@kramkow.ski> | 2023-04-21 23:50:38 +0100 |
commit | 16a36c812fabda812ecf3aaa7f12fa6f44c66b2e (patch) | |
tree | ccae60abf8301ae451cfa1f21c33b8a62d5306cf /ids.rc.do | |
parent | db091bfd1db36ab66340ccad2eb7b6393a0aa3da (diff) | |
download | android-jetpack-compose-redo-master.tar.gz android-jetpack-compose-redo-master.tar.xz android-jetpack-compose-redo-master.zip |
Diffstat (limited to 'ids.rc.do')
-rwxr-xr-x | ids.rc.do | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ids.rc.do b/ids.rc.do new file mode 100755 index 0000000..9c5ffd2 --- /dev/null +++ b/ids.rc.do @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +set -e +redo-ifchange R.zip +printf 'declare -A ids\n' >"$3" +7z e -so R.zip R | sed 's/^\(int[][]*\) \([^ ]*\) \([^ ]*\) \([0-9a-fA-F{},x ]*\)$/ids[\2:\3]="\1 \3 = \4"/' >>"$3" +# vim:ft=bash |