removed a bit of cruft from koch
This commit is contained in:
parent
8dadeebd08
commit
3b00d9cc7a
2 changed files with 21 additions and 29 deletions
11
koch.nim
11
koch.nim
|
|
@ -114,7 +114,7 @@ proc nsis(args: string) =
|
|||
# make sure we have generated the niminst executables:
|
||||
buildTool("tools/niminst/niminst", args)
|
||||
buildTool("tools/nimgrep", args)
|
||||
# produce 'nimrod_debug.exe':
|
||||
# produce 'nim_debug.exe':
|
||||
exec "nim c compiler" / "nim.nim"
|
||||
copyExe("compiler/nim".exe, "bin/nim_debug".exe)
|
||||
exec(("tools" / "niminst" / "niminst --var:version=$# --var:mingw=mingw$#" &
|
||||
|
|
@ -143,8 +143,6 @@ proc findStartNim: string =
|
|||
# we try several things before giving up:
|
||||
# * bin/nim
|
||||
# * $PATH/nim
|
||||
# * bin/nimrod
|
||||
# * $PATH/nimrod
|
||||
# If these fail, we try to build nim with the "build.(sh|bat)" script.
|
||||
var nim = "nim".exe
|
||||
result = "bin" / nim
|
||||
|
|
@ -152,13 +150,6 @@ proc findStartNim: string =
|
|||
for dir in split(getEnv("PATH"), PathSep):
|
||||
if existsFile(dir / nim): return dir / nim
|
||||
|
||||
# try the old "nimrod.exe":
|
||||
var nimrod = "nimrod".exe
|
||||
result = "bin" / nimrod
|
||||
if existsFile(result): return
|
||||
for dir in split(getEnv("PATH"), PathSep):
|
||||
if existsFile(dir / nim): return dir / nimrod
|
||||
|
||||
when defined(Posix):
|
||||
const buildScript = "build.sh"
|
||||
if existsFile(buildScript):
|
||||
|
|
|
|||
1
todo.txt
1
todo.txt
|
|
@ -62,6 +62,7 @@ Bugs
|
|||
- scopes are still broken for generic instantiation!
|
||||
- blocks can "export" an identifier but the CCG generates {} for them ...
|
||||
- ConcreteTypes in a 'case' means we don't check for duplicated case branches
|
||||
- typedesc matches a generic type T!
|
||||
|
||||
|
||||
version 0.9.x
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue