How to use the Haxe Swift target?
So I just installed the haxe swift target from https://github.com/ralcr/swift-target and I can't figure it out all my life, m have to get it to compile a file .hx
to a file .swift
.
I've tried haxe -main HelloWorld.hx -swift [filename]
as well haxe -main HelloWorld.hx -swift [directory]
(and yes, I replaced both [filename] and [directory] with the appropriate replacements) but doesn't work. How do I compile it to a swift file?
+3
source to share
No one has answered this question yet
Check out similar questions: