This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This PowerShell script will help you generate sprite info files for LITIENGINE. | |
# Define the path to the folder containing the images | |
$folderPath = "." | |
# Define the path to the output text file | |
$outputFilePath = "sprites.info" | |
Get-ChildItem -Recurse $folderPath -Include "*.jpg","*.png","*.bmp" | % { | |
$image = [System.Drawing.Image]::FromFile($_.FullName) | |
[PSCustomObject]@{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tasks.named("printGitSemVer") { | |
group = "versioning" | |
description = "Prints the Gradle project version resolved from git tags." | |
} | |
tasks.register("incrementMajorVersion") { | |
group = "versioning" | |
doLast { | |
String newTag |