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

How am I supposed to use this library? #21

Open
rodamaral opened this issue Dec 19, 2020 · 1 comment
Open

How am I supposed to use this library? #21

rodamaral opened this issue Dec 19, 2020 · 1 comment

Comments

@rodamaral
Copy link

My folder structure looks like this:

.
├── dist
│   └── ...
├── lua_modules
│   ├── lib
│   └── share
├── src
│   ├── init.tl
│   ├── inspect.d.tl
├── tlconfig.lua

lua_modules has been populated by luarocks install <package> --tree lua_modules with, eg, inspect.
In this case, should I just copy the contents of inspect.d.tl from this repo into src/inspect.d.tl?

@hishamhm
Copy link
Member

That's a great question, and one that really needs a good answer eventually, but at this time we really haven't done much tooling for teal-types in terms of making the workflow more automated.

So for now the approach you suggested should be sufficient. But personally what I'd love to see would be some sort of LuaRocks integration.

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