From c40f981e647eef2fb558c462f1df10c61d250a97 Mon Sep 17 00:00:00 2001 From: Araq Date: Sat, 30 Aug 2014 16:36:57 +0200 Subject: [PATCH] babel is now nimble --- compiler/options.nim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/compiler/options.nim b/compiler/options.nim index 723d912ca8..11c8241ef9 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