-
Notifications
You must be signed in to change notification settings - Fork 6
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
Windows support #2
Comments
Lua running through Corona wasn't that good at reporting the file's location which made it hard to determine where to load relative to it. CIPR_PACKAGES could be stored in .ciprcfg which would obviate the need for that setting. Then you would just need to be able to figure out CIPR_PROJECT in order to load .ciprcfg. Doesn't Windows have environment vars though? |
I changed it to work like this:
which seems to correctly point the project dir at the same folder as main.lua and the packages dir at .cipr/packages relative to that. |
Cool, if it works out can you send me a pull request for all your windows changes? |
Sure. Does clom.shell.execute() throw an exception if the command returns an error code? Or ... how should that work? |
Throws an exception if the return code isn't 0. On Sunday, April 15, 2012 at 11:43 PM, dobesv wrote:
|
So far cipr install works fine, but trying to use cipr run fails because the executable in windows is different.
Also in windows I'm not sure whether the executable actually accepts command-line parameters, either.
Running the app directly by loading main.lua into the simulator fails because cipr expects certain environment variables to be setup:
I wonder whether this code could be changed to just calculate those paths relative to the script itself?
The text was updated successfully, but these errors were encountered: