summaryrefslogtreecommitdiffstats
path: root/paste.dex.do
diff options
context:
space:
mode:
Diffstat (limited to 'paste.dex.do')
-rwxr-xr-x[-rw-r--r--]paste.dex.do10
1 files changed, 2 insertions, 8 deletions
diff --git a/paste.dex.do b/paste.dex.do
index 53ec7c2..a70fb39 100644..100755
--- a/paste.dex.do
+++ b/paste.dex.do
@@ -1,12 +1,6 @@
#!/usr/bin/env bash
set -e
-jars=(R.jar MainActivity.jar)
-redo-ifchange .vars.rc
+redo-ifchange .vars.rc paste.jar
. ./.vars.rc
-android="$PLATFORM/android.jar"
-redo-ifchange "$BUILD_TOOLS/d8" "$android" kotlin.dex "${jars[@]}"
-tmp=$(mktemp -d)
-trap 'rm -rf "$tmp"' EXIT
-"$BUILD_TOOLS/d8" --classpath "$android" --output "$tmp" kotlin.dex "${jars[@]}"
-mv "$tmp/classes.dex" "$3"
+d8 "$3" paste.jar
# vim:ft=bash