Files
kotlin-fork/samples/gitchurn
Ilya Matveev ccf03e51fa gradle-plugin Use a script-block to specify include directories
Replace headerFilterAdditionalSearchPrefix cinterop option with
includeDir script block:

includeDir {
    allHeaders 'path' // Used for all headers (an analogue of -I<path>)
    // Used only for headers in headerFilter
    // (replacement for headerFilterAdditionalSearchPrefix)
    headerFilterOnly 'path'
}
2017-11-23 13:01:10 +07:00
..

GIT frequency analyzer

This example shows how one could perform statistics on Git repository. libgit2 is required for this to work (apt-get install libgit2-dev).

To build use ../gradlew build or ./build.sh.

To run use ../gradlew run.

To change run arguments, change property runArgs in gradle.propeties file or pass -PrunArgs="../../" to gradle run.

Alternatively you can run artifact directly

./build/konan/bin/GitChurn/GitChurn.kexe ../../

It will print most frequently modified (by number of commits) files in repository.