This branch is for Kotlin and is more flushed out.
Here is a copy of the readme of this branch:
About
Code Kotlin branch for glassthought.com and others.
Helpful scripts:
snapshot.sh - Runs App.kt, if the command is successful, it will commit the changes. As well as record the output and a way to reproduce the command with the change. gt.snapshot --help for more info.
git.push.sh - Pushes the current branch to the remote repository.
Changing code:
Feel free to change the code in App.kt. And add additional files. Also feel free to clean up files that aren’t needed anymore, like something that was specific to particular sandbox.
Generally don’t delete contents of gt.sandbox.util package (unless clean up is needed), but also feel free to add new files to it or modify to make it better.
To get glass thought sandbox with this branch you can run command:
snapshot.sh - Snapshots the change assuming you have the already ran the application in Android Studio and happy with current state. gt.snapshot --help for more info.
Note you can provide an optional custom message to use as the first line in commit with ./snapshot.sh "Custom message"
git.push.sh - Pushes the current branch to the remote repository.
Similar to kotlin there is origin/bash that is also wired up with helpful scripts.
Excerpt from the README on this branch is:
Helpful scripts:
snapshot_with_main.sh - Runs bash/main.sh, if the command is successful, it will commit the changes. As well as record the output and a way to reproduce the command with the change. gt.snapshot --help for more info. Also copies the code of main.sh to the clipboard.