Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flow command #28

Open
ivodopiviz opened this issue Oct 11, 2014 · 2 comments
Open

flow command #28

ivodopiviz opened this issue Oct 11, 2014 · 2 comments

Comments

@ivodopiviz
Copy link

Hi! Noob here!

According to most places in the docs, once installed, I should be able to just use 'flow' as a command. However, it isn't working for me and I have to use 'haxelib run flow'. Is this normal? Did I miss a step?

I installed directly using haxelib git [url] and everything seemed to go fine. I'm using the latest OSX Yosemite GM.

Cheers!

@ruby0x1
Copy link
Member

ruby0x1 commented Oct 11, 2014

Hi,

This is just an oversight in the documentation, I thought I had written the instructions for this, but hadn't. Sorry for the confusion there :)

The shortcut will be automated in future, but to install the alias, you can look here:
https://github.com/underscorediscovery/flow/tree/master/setup

The windows one is a bat file, linux and mac are the other one.
You're free to setup the alias in a preferred way, but this is a convenience :

In windows, you can copy it to C:\haxetoolkit\ somewhere, alongside haxe.exe, or anywhere in your PATH.

In mac/linux you can also put it alongside the haxe binary in /usr/lib/haxe/ or even in the more common place of /usr/local/bin.

That's all there is to it, copy the small text file (you can open and look inside) to anywhere in your path, and your terminal should find flow after that. Take note on windows you often have to restart a terminal for some things to take hold.

@ivodopiviz
Copy link
Author

Thanks for the help Sven! I was trying something similar to this after inspecting how HaxeFlixel did it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants