diff options
author | Araq <rumpf_a@web.de> | 2014-08-30 16:36:57 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-08-30 16:36:57 +0200 |
commit | c40f981e647eef2fb558c462f1df10c61d250a97 (patch) | |
tree | d9868220e56fe367c589d1e0c92c3030803232ab | |
parent | fb688d13605c51f35450f920420d67e884499f39 (diff) | |
download | Nim-c40f981e647eef2fb558c462f1df10c61d250a97.tar.gz |
babel is now nimble
-rw-r--r-- | compiler/options.nim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/options.nim b/compiler/options.nim index 723d912ca..11c8241ef 100644 --- a/compiler/options.nim +++ b/compiler/options.nim @@ -238,6 +238,9 @@ proc getPackageName*(path: string): string = #echo "from cache ", d, " |", packageCache[d], "|", path.splitFile.name return packageCache[d] inc parents + for file in walkFiles(d / "*.nimble"): + result = file.splitFile.name + break packageSearch for file in walkFiles(d / "*.babel"): result = file.splitFile.name break packageSearch |