Compare commits

..

2 commits

Author SHA1 Message Date
662297a51e
add jj alias 2024-11-14 14:42:12 -06:00
92511f2464
add more helper tasks 2024-11-14 14:42:12 -06:00
2 changed files with 16 additions and 2 deletions

View file

@ -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

View file

@ -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"]