compiler: rename compilation dir as `nit_compile`
authorJean Privat <jean@pryen.org>
Thu, 28 May 2015 14:27:01 +0000 (10:27 -0400)
committerJean Privat <jean@pryen.org>
Thu, 28 May 2015 22:14:43 +0000 (18:14 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

fix rename

src/compiler/abstract_compiler.nit

index 8d3f7db..48a19a8 100644 (file)
@@ -149,7 +149,7 @@ class Toolchain
        fun compile_dir: String
        do
                var compile_dir = toolcontext.opt_compile_dir.value
-               if compile_dir == null then compile_dir = ".nit_compile"
+               if compile_dir == null then compile_dir = "nit_compile"
                return compile_dir
        end
 
@@ -327,7 +327,7 @@ class MakefileToolchain
                var outpath = real_outpath.escape_to_mk
                if outpath != real_outpath then
                        # If the name is crazy and need escaping, we will do an indirection
-                       # 1. generate the binary in the .nit_compile dir under an escaped name
+                       # 1. generate the binary in the nit_compile dir under an escaped name
                        # 2. copy the binary at the right place in the `all` goal.
                        outpath = mainmodule.c_name
                end