Files
orx/orx-jvm/orx-git-archiver
Edwin Jakobs 9921857007 Fix demos
2021-10-21 21:05:17 +02:00
..
2021-10-21 21:05:17 +02:00
2021-08-27 15:04:53 +02:00

orx-git-archiver

An extension that hooks into Program.requestAssets to commit changed code to Git and provide filenames based on the commit hash.

How do I use it?

application {
    program {
        extend(GitArchiver()) {


        }
        extend(Screenshots())
    }
}

Now when a screenshot is taken, first all uncommitted code is committed to git. The screenshot is saved with the first 7 characters of the commit hash in the filename.