1. what happens if the library includes several files? Will it create a dir under vendor dir? 2. Is it possible to get rid of my name in github repository name? (eg github.com/gideros-community-libs or similar?)
Hmm. Now that we have a full repo of useful libraries, maybe we can just clone this repo somewhere on our disk, and add it to lua's path (I don't know how to do this)?
If that can be done, I don't see any need of shipping this with Gideros. This way, we can update on will. We'll just need to update the libraries regularly.
Hmm. Now that we have a full repo of useful libraries, maybe we can just clone this repo somewhere on our disk, and add it to lua's path (I don't know how to do this)?
Just edit package.cpath variable.
Actually, you can print it (it is just a string) to see its contents. I'm am running under windows, so assuming I saved the repo contents into C:\dev\lua\gideros-community-libs, I can easily to this in any script (no matter what where it is located on my hard-drive):
Hmm. Now that we have a full repo of useful libraries, maybe we can just clone this repo somewhere on our disk, and add it to lua's path (I don't know how to do this)?
Just edit package.cpath variable.
Actually, you can print it (it is just a string) to see its contents. I'm am running under windows, so assuming I saved the repo contents into C:\dev\lua\gideros-community-libs, I can easily to this in any script (no matter what where it is located on my hard-drive):
Hmm. Now that we have a full repo of useful libraries, maybe we can just clone this repo somewhere on our disk, and add it to lua's path (I don't know how to do this)?
If that can be done, I don't see any need of shipping this with Gideros. This way, we can update on will. We'll just need to update the libraries regularly.
Since you are lurking on the forum and know the URL of the repo, you do not need it get shipped with Gideros Studio. However 95% of the time, users just download the Studio, and enter out of box experience period. If we cannot catch them in the first 15-30 mins, then he never looks back.
Lua libraries that come with Studio with an easy to test/use interface will greatly improve/increase end user experience.
Atilim is also looking for a way to automatically include these libraries with a simple UI, so you won't have to copy/paste them in your project.
Comments
Will keep updating it.
@___ : it looks OK. need your username.
1. what happens if the library includes several files? Will it create a dir under vendor dir?
2. Is it possible to get rid of my name in github repository name? (eg github.com/gideros-community-libs or similar?)
and for 2. it shows the username of the owner of repository.
So if Gideros has a github account, you can change the ownership so it will probably be
github.com/gideros/gideros-community-libs
@___ is it possible?
https://github.com/gideros/gideros-community-libs
Maybe I can convert this to Ruby :-?
Well, I opened a ticket...!
If that can be done, I don't see any need of shipping this with Gideros. This way, we can update on will. We'll just need to update the libraries regularly.
@gorkem, @ar2rsawseen?
Actually, you can print it (it is just a string) to see its contents.
I'm am running under windows, so assuming I saved the repo contents into C:\dev\lua\gideros-community-libs, I can easily to this in any script (no matter what where it is located on my hard-drive):
I added the vendor directory to it (LUA_PATH="$LUA_PATH;~/dev/gideros/gcl/vendor" in my ~/.zshrc)
It works in lua repl, but Gideros doesn't seem to use LUA_PATH in its require path. Can that be modified @gorkem @atilim?
However, we'll need to have support for it outside of project files, so that the project can be shared between people.
But it can't be modified ~X(
ps: looks like we should create new sticky thread for discussing community lib
http://www.nightspade.com
Lua libraries that come with Studio with an easy to test/use interface will greatly improve/increase end user experience.
Atilim is also looking for a way to automatically include these libraries with a simple UI, so you won't have to copy/paste them in your project.