summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2016-10-24 17:22:31 +0200
committerAraq <rumpf_a@web.de>2016-10-24 17:41:02 +0200
commitceb30d7a0e3efb697d710e96add2633644dd7845 (patch)
treeca6ff64266778b35ae448ee635bec53437b6fa31
parentcceb6c625c3e2f410b8835f3cb4e5b36c487189e (diff)
downloadNim-ceb30d7a0e3efb697d710e96add2633644dd7845.tar.gz
document the new way of doing things; refs #4934
-rw-r--r--install.txt6
-rw-r--r--readme.md5
-rw-r--r--web/download.rst3
3 files changed, 9 insertions, 5 deletions
diff --git a/install.txt b/install.txt
index a6f5abd81..6ab562b07 100644
--- a/install.txt
+++ b/install.txt
@@ -33,7 +33,8 @@ is more cumbersome then.
 To complete the installation you should also build Nim's tools like
 ``nimsuggest``, ``nimble`` or ``nimgrep`` via::
 
-  nim e install_tools.nims
+  nim c koch
+  koch tools
 
 Note that these tools should also end up in your ``PATH`` so adding
 ``$your_install_dir/bin/nim`` to your ``PATH`` is preferred over the symlink
@@ -83,4 +84,5 @@ Nimble is Nim's package manager. For the source based installations where you
 added Nim's ``bin`` directory to your ``$PATH`` the easiest way of installing
 Nimble is via::
 
-  nim e install_nimble.nims
+  nim c koch
+  koch nimble
diff --git a/readme.md b/readme.md
index 36d1ab0f9..b4a484f60 100644
--- a/readme.md
+++ b/readme.md
@@ -27,7 +27,8 @@ To build from source you will need:
     are: clang, Visual C++, Intel's C++ compiler
   * git or wget
 
-**Note:** When installing ``gcc`` on Ubuntu (and likely other distros) ensure that the ``build-essentials`` package is installed also.
+**Note:** When installing ``gcc`` on Ubuntu (and likely other distros) ensure
+that the ``build-essentials`` package is installed also.
 
 If you are on a fairly modern *nix system, the following steps should work:
 
@@ -58,7 +59,7 @@ source based installations where you added Nim's ``bin`` directory to your PATH
 the easiest way of installing Nimble is via:
 
 ```
-$ nim e install_nimble.nims
+$ koch nimble
 ```
 
 ## Community
diff --git a/web/download.rst b/web/download.rst
index b9874f1b1..7698deef1 100644
--- a/web/download.rst
+++ b/web/download.rst
@@ -61,7 +61,7 @@ Now open a terminal and follow these instructions:
 ``cd ~/programs/nim``.
 * run ``sh build.sh``.
 * Add ``$your_install_dir/bin`` to your PATH.
-* To build associated tools like ``nimble`` and ``nimsuggest`` run ``nim e install_tools.nims``.
+* To build associated tools like ``nimble`` and ``nimsuggest`` run ``nim c koch && koch tools``.
 
 After restarting your terminal, you should be able to run ``nim -v``
 which should show you the version of Nim you just installed.
@@ -94,6 +94,7 @@ and then to build it::
   cd ..
   bin/nim c koch
   ./koch boot -d:release
+  koch tools
 
 You should then add the ``./bin`` (make sure to expand this into an
 absolute path) directory to your ``PATH``.