Compare commits
2 commits
b48499fbbd
...
662297a51e
Author | SHA1 | Date | |
---|---|---|---|
662297a51e | |||
92511f2464 |
2 changed files with 16 additions and 2 deletions
|
@ -1,4 +1,6 @@
|
|||
# import system/nimscript
|
||||
when defined(nimsuggest):
|
||||
import system/nimscript
|
||||
|
||||
import std/[
|
||||
os, strutils, strformat
|
||||
]
|
||||
|
@ -99,7 +101,16 @@ task b, fmt"build binary, default: {name}":
|
|||
else:
|
||||
setCommand "c",""
|
||||
|
||||
task updateLock, "workaround for nimble lock probs":
|
||||
let nimbleFile = projectDir().lastPathPart & ".nimble"
|
||||
if not fileExists nimbleFile:
|
||||
quit "expected to find: " & nimbleFile
|
||||
rmDir "nimbledeps"
|
||||
rmFile "nimble.lock"
|
||||
exec "nimble lock -l"
|
||||
exec "nimble setup -l"
|
||||
|
||||
# line delemiter for `nim help`
|
||||
task _,"_______________":
|
||||
discard
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ backend = "gpg"
|
|||
signingkey = "7AD9DB430EE2B3C1D86BF3243CD66E04B8072F3E"
|
||||
|
||||
[git]
|
||||
private-commits = "description(glob:'wip:*') | description(glob:'private:*')"
|
||||
private-commits = "description(glob:'wip*') | description(glob:'private:*')"
|
||||
|
||||
[ui]
|
||||
default-command = "log"
|
||||
|
@ -17,3 +17,6 @@ diff-editor = ":builtin"
|
|||
|
||||
[ui.diff]
|
||||
format = "git"
|
||||
|
||||
[aliases]
|
||||
wip = ["ci", "-m", "wip"]
|
||||
|
|
Loading…
Reference in a new issue