I'm trying to create some commands for my haxe library, but I have a problem. In fact, I want to generate some files and directories in the directory where the command haxelib run <mylib> <command>
is send.
But, when it runs it generates the data in my lib directory (where the run.n is). My path is the following :
Sys.getCwd() + "/myfile.txt"
I also tried
"myfile.txt"
Always the same thing. Perhaps that's because I installed my library with haxelib git
?
flixel-tools has a command that generates something too, but that's directly with flixel tpl -n 'name'
. They don't use haxelib run flixel
.
That's why it works for them ?
Thank you if you have an idea.