demonnic / muddler

A build tool for Mudlet package developers
MIT License
40 stars 12 forks source link

Add filtering for PKGNAME #4

Closed demonnic closed 5 years ago

demonnic commented 5 years ago

Use groovy's built in AntBuilder which we are alread leveraging to filter source files and replace @PKGNAME@ with the packagename-version which is used to identify the package and filenames by muddler.

This allows you to use getMudletHomeDir() .. "@PKGNAME@/" to get the directory your package will drop its files into, as if the packagename-version is anitimers-3.0 the above would become getMudletHomeDir() .. "anitimers-3.0/"

Also, mark 0.3 for muddler