Updated readme.

This commit is contained in:
Dominik Picheta 2013-12-25 22:01:43 +00:00
commit de39680792

View file

@ -9,24 +9,29 @@ You will need the latest [Nimrod compiler from
github](https://github.com/Araq/Nimrod) to compile babel (version 0.9.2 may github](https://github.com/Araq/Nimrod) to compile babel (version 0.9.2 may
work). work).
Once you have the latest Nimrod compiler you can compile babel by executing the ### Unix
following sequence of commands to clone the repository, compile babel, then
install itself: On Unix operating systems Babel can be compiled and installed with two simple
commands. After successfully grabbing the latest Nimrod compiler simply execute
the following commands to clone babel, compile it and then install it.
git clone https://github.com/nimrod-code/babel.git git clone https://github.com/nimrod-code/babel.git
cd babel/src nimrod c -r src/babel install
nimrod c -d:release babel
cd ..
./src/babel install
After these steps babel should be compiled and installed. You should then add After these steps babel should be compiled and installed. You should then add
``~/.babel/bin`` to your ``$PATH``. If you want to get rid of the git checkout ``~/.babel/bin`` to your ``$PATH``. Updating babel can then be done by
and use babel to keep itself up to date, run ``babel install babel`` at least executing ``babel install babel``.
once to install as a normal binary package.
**Note**: On **Windows** you must rename ``babel.exe`` to ``babel1.exe`` and ### Windows
subsequently run ``babel1.exe install``. This is because Windows will lock
the process which is being run. On Windows installing Babel is slightly more complex:
git clone https://github.com/nimrod-code/babel.git
nimrod c src\babel
cp src\babel.exe src\babel1.exe
src\babel1.exe install
This is required because Windows will lock the process which is being run.
## Babel's folder structure and packages ## Babel's folder structure and packages