开发者

Best way to open shoes apps when developing

开发者 https://www.devze.com 2023-02-17 05:21 出处:网络
Learning Shoes here. I am wondering if there is a better way to open shoes apps while keeping the console open. Currently I have to first open the shoes 开发者_如何学Pythonapp, then open the console,

Learning Shoes here. I am wondering if there is a better way to open shoes apps while keeping the console open. Currently I have to first open the shoes 开发者_如何学Pythonapp, then open the console, then open my app after each minute change I make just to see what errors I get.

I feel like there is an easier way to do this. Thanks!


You can run Shoes from command line, and give it your application as a parameter.

$ <Path_where_you_have_installed_Shoes>/dist/shoes <your_application>

The Shoes binary is in /dist relative to the installation directory (so you won' find it on PATH automagically)


If you're on *NIX, you can also add a shebang to the beginning of your .rb file:

#! <shoes directory>/dist/shoes

Then executing your script will run it with shoes automatically.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号