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

Could I install pgmoon by just copying the pgmoon folder instead of using luarocks? #42

Closed
xiangnanscu opened this issue Nov 20, 2016 · 2 comments

Comments

@xiangnanscu
Copy link

Because I want to include pgmoon in my project for portability.

@thibaultcha
Copy link
Contributor

You should be able to indeed, assuming your LUA_PATH environment variable (or package.path in the Lua VM) is correctly configured. You would need to append:

/path/to/pgmoon/?.lua

To any of those.

@leafo
Copy link
Owner

leafo commented Nov 22, 2016

Keep in mind that the module uses an init.lua file, the default package.path will not look for one when loading modules from the current directory. You can include the pgmoon.lua file in the root level of this repository as an alternative to updating your package.path.

@leafo leafo closed this as completed Nov 22, 2016
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

3 participants