Skip to content

Files

Latest commit

f713ca3 · Sep 2, 2024

History

History

orx-git-archiver

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Sep 2, 2024
Dec 14, 2023
Aug 25, 2022

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.

Demos