Open andyli opened 10 years ago
I wasn't aware of this 'target', indeed. I'll look into it ASAP.
While you're at it, there is also --run
. ;)
It is used like:
-cp src
-debug
--run Main
It should work now :)
Can you please confirm / close this issue ?
Sadly it still does not work for me.
build.hxml
-main Test
--interp
Test.hx
class Test {
static function main():Void {
[].
}
}
This message shows up:
It's weird, I can't reproduce... Anything else :p ?
Not sure what is relevant, but I've tried:
changing the build.hxml to
-main Test
-js Test.js
no error, code completion success.
Yes, it's possibly a Mac error. I suspect there is an empty command line arg somewhere, that Mac OS doesn't like. I'll try to look into it.
It seems the bundle is unable to recognise the macro target (
--interp
), which leads to code completion error.A sample build.hxml: