Merge: compiler: compile_dir can be anywhere
authorJean Privat <jean@pryen.org>
Tue, 30 Sep 2014 10:49:26 +0000 (06:49 -0400)
committerJean Privat <jean@pryen.org>
Tue, 30 Sep 2014 10:49:26 +0000 (06:49 -0400)
commit1243bd47b6e498cec93009f7ebea38b7077b3795
tree9a18571505529b4693b1832baeaecadffe3e8668
parent71dafe3024fb54db4460cedfe9cd28cdfd02dd9c
parentbcef4bc70c76c4b78f9cc2420252bb0be43c3cf9
Merge: compiler: compile_dir can be anywhere

Fix an old TODO. Now you can compile where you want and stop having a bunch of fat .nit_compile directories everywhere.

~~~sh
$ nitg --compile-dir /tmp/nit_compile examples/hello_word.nit
~~~

Pull-Request: #789
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>
src/compiler/abstract_compiler.nit