haxeui / haxeui-core

The core library of the HaxeUI framework
http://haxeui.org
MIT License
346 stars 72 forks source link

running CLI in windows ? #287

Closed SyedAsimAliSE closed 5 years ago

SyedAsimAliSE commented 5 years ago

Hi,

this is not really a bug or something to the framework but it is about the CLI which really is giving me hard time running it, basically i just tried everything which i could:

i always get the error when i run it without -flash-develop

neko I:\SDKS\HAXE\haxe\lib\haxeui-core\0,0,4\run create html5 --flash-develop
 ERROR: no backend specified

&&

neko I:\SDKS\HAXE\haxe\lib\haxeui-core\0,0,4\run create html5 --flash-develop
std@sys_read_dir

i really want to use it as it saves me bunch of clicks for new projects. and is really fast to test something real quick.

thanks.

SyedAsimAliSE commented 5 years ago

to answer my own question :

i figured out i have to run this :

neko I:\SDKS\HAXE\haxe\lib\haxeui-core\0,0,4\run.n setup haxeui

and it copied the haxeui.exe file into the sdk folder.

ianharrigan commented 5 years ago

Hi, sorry, late reply! Yup you got it exactly. Another option would be haxelib run haxeui-core setup (from anywhere) and that should achieve the same, after running that command you can just use haxeui ... from anywhere