expand updateLock function
This commit is contained in:
parent
29e388d0af
commit
08623c58f2
1 changed files with 3 additions and 2 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue