From a6e2ad64463aa84b2c1e890f18f952e20ec83bbd Mon Sep 17 00:00:00 2001 From: Grzegorz Adam Hankiewicz Date: Wed, 25 Dec 2013 11:51:01 +0100 Subject: [PATCH] Updates first installation instructions. --- readme.markdown | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/readme.markdown b/readme.markdown index d6f78dc..fafecb7 100644 --- a/readme.markdown +++ b/readme.markdown @@ -9,9 +9,20 @@ You will need the latest [Nimrod compiler from github](https://github.com/Araq/Nimrod) to compile babel (version 0.9.2 may work). -Once you have the latest Nimrod compiler you can compile babel by executing: -``nimrod c -d:release babel``. Then simply install babel by executing ``./babel -install``. You should then add ``~/.babel/bin`` to your ``$PATH``. +Once you have the latest Nimrod compiler you can compile babel by executing the +following sequence of commands to clone the repository, compile babel, then +install itself: + + git clone https://github.com/nimrod-code/babel.git + cd babel/src + nimrod c -d:release babel + cd .. + ./src/babel install + +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 +and use babel to keep itself up to date, run ``babel install babel`` at least +once to install as a normal binary package. **Note**: On **Windows** you must rename ``babel.exe`` to ``babel1.exe`` and subsequently run ``babel1.exe install``. This is because Windows will lock