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/[
|
import std/[
|
||||||
os, strutils, strformat
|
os, strutils, strformat
|
||||||
]
|
]
|
||||||
|
@ -99,7 +101,16 @@ task b, fmt"build binary, default: {name}":
|
||||||
else:
|
else:
|
||||||
setCommand "c",""
|
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 _,"_______________":
|
task _,"_______________":
|
||||||
discard
|
discard
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ backend = "gpg"
|
||||||
signingkey = "7AD9DB430EE2B3C1D86BF3243CD66E04B8072F3E"
|
signingkey = "7AD9DB430EE2B3C1D86BF3243CD66E04B8072F3E"
|
||||||
|
|
||||||
[git]
|
[git]
|
||||||
private-commits = "description(glob:'wip:*') | description(glob:'private:*')"
|
private-commits = "description(glob:'wip*') | description(glob:'private:*')"
|
||||||
|
|
||||||
[ui]
|
[ui]
|
||||||
default-command = "log"
|
default-command = "log"
|
||||||
|
@ -17,3 +17,6 @@ diff-editor = ":builtin"
|
||||||
|
|
||||||
[ui.diff]
|
[ui.diff]
|
||||||
format = "git"
|
format = "git"
|
||||||
|
|
||||||
|
[aliases]
|
||||||
|
wip = ["ci", "-m", "wip"]
|
||||||
|
|
Loading…
Reference in a new issue