Re-write, mostly works.

This commit is contained in:
Dominik Picheta 2012-12-02 01:24:47 +00:00
commit c6396a3bc3
7 changed files with 285 additions and 612 deletions

View file

@ -3,15 +3,18 @@ Babel is a work in progress package manager for Nimrod.
## Babel's folder structure
Babel stores everything that has been installed in ~/.babel on Unix systems and
in your $home/babel on Windows. Libraries are installed in lib/ in folders
which names contain the name of the package, the folders
contain the modules and any other files that the package wished to install.
Applications are installed into bin/. There is also a packages/ directory which
contains all the packages' .babel files.
in your $home/babel on Windows. Libraries are stored in ~/.babel/libs.
## Libraries
Libraries should contain a ``ProjectName.nim`` file, this file will be copied
to ~/.babel/libs/ProjectName.nim allowing anyone to import it by doing
``import ProjectName``. Any private files should be placed, by convention, in
a ``private`` folder, these are files which the user of your library should not
be using. Every other file and folder will be copied to ~/.babel/libs/ProjectName/.
## Contribution
If you would like to help, feel free to fork and make any additions you see
fit and then send a pull request.
If you have any questions about the project you can ask me directly on github,
ask on the nimrod [forum](http://force7.de/heimdall), or ask on Freenode in
the #nimrod channel.
ask on the nimrod [forum](http://forum.nimrod-code.org), or ask on Freenode in
the #nimrod channel.