HxGodot / hxgodot

A Haxe GDExtension for Godot 4
MIT License
232 stars 11 forks source link

add header ascii art #21

Closed BNTFryingPan closed 1 year ago

BNTFryingPan commented 1 year ago

This pull request adds some ASCII art when you use the command line tool via haxelib run hxgodot. It displays the version string (hxgodot ($version)) "inline" on the ASCII art if it fits with the correct spacing applied automatically (and on the next line if it does not fit), so there shouldn't be a need to update this is the version string changes in length. Also I left in a command to pass whatever text you want to the function that adds the version string that I had originally made just to test it, but I didn't really see any reason to remove it as it doesn't interfere with the functionality.

Also there is a new hxml in the root folder to build the run.n file that I added so you can just use haxe ./cli.hxml in the root of the project to update the run.n file without needing to go into ./tools/run first. (Also so that I could select it in VSCode, lol)

There are some other changes I kind of want to make to the command line tool, but I'll make those as a separate PR sometime in the future, as they are entirely unrelated to this.