summary refs log tree commit diff stats
path: root/doc/intern.txt
diff options
context:
space:
mode:
authorSimon Hafner <hafnersimon@gmail.com>2015-01-28 13:33:47 -0600
committerSimon Hafner <hafnersimon@gmail.com>2015-01-28 13:33:47 -0600
commitfb1f15476fb3414763adb9abb05cb428fabf0484 (patch)
tree86fb54e14cd55e946d1d418359e3df18d5bd65d4 /doc/intern.txt
parent1a88e2a18bc54cbea743ccb526cbd691312577a4 (diff)
downloadNim-fb1f15476fb3414763adb9abb05cb428fabf0484.tar.gz
added documentation about koch temp
and the 125 exit code
Diffstat (limited to 'doc/intern.txt')
-rw-r--r--doc/intern.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/intern.txt b/doc/intern.txt
index d9da863f5..76139f672 100644
--- a/doc/intern.txt
+++ b/doc/intern.txt
@@ -145,6 +145,16 @@ are also lots of procs that aid in debugging:
     # why does it process temp.nim here?
     writeStackTrace()
 
+To create a new compiler for each run, use ``koch temp``::
+
+  ./koch temp c /tmp/test.nim
+
+``koch temp`` returns 125 as the exit code in case the compiler
+compilation fails. This exit code tells ``git bisect`` to skip the
+current commit.::
+
+  git bisect start bad-commit good-commit
+  git bisect ./koch -r c test-source.nim
 
 The compiler's architecture
 ===========================