expand updateLock function

This commit is contained in:
Daylin Morgan 2024-11-18 16:26:23 -06:00
parent 29e388d0af
commit 08623c58f2
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -108,8 +108,9 @@ task updateLock, "workaround for nimble lock probs":
else: projectDir().lastPathPart & ".nimble"
if not fileExists nimbleFile:
quit "expected to find: " & nimbleFile
rmDir "nimbledeps"
rmFile "nimble.lock"
rmDir projectDir() / "nimbledeps"
rmFile projectDir() / "nimble.lock"
rmFile projectDir() / "nimble.paths"
exec "nimble lock -l"
exec "nimble setup -l"