koch.nim: indentation uses 2 spaces
This commit is contained in:
parent
7b31a81d45
commit
2990a5ea54
1 changed files with 5 additions and 5 deletions
10
koch.nim
10
koch.nim
|
|
@ -192,11 +192,11 @@ proc zip(latest: bool; args: string) =
|
||||||
["tools/niminst/niminst".exe, VersionAsString])
|
["tools/niminst/niminst".exe, VersionAsString])
|
||||||
|
|
||||||
proc ensureCleanGit() =
|
proc ensureCleanGit() =
|
||||||
let (outp, status) = osproc.execCmdEx("git diff")
|
let (outp, status) = osproc.execCmdEx("git diff")
|
||||||
if outp.len != 0:
|
if outp.len != 0:
|
||||||
quit "Not a clean git repository; 'git diff' not empty!"
|
quit "Not a clean git repository; 'git diff' not empty!"
|
||||||
if status != 0:
|
if status != 0:
|
||||||
quit "Not a clean git repository; 'git diff' returned non-zero!"
|
quit "Not a clean git repository; 'git diff' returned non-zero!"
|
||||||
|
|
||||||
proc xz(latest: bool; args: string) =
|
proc xz(latest: bool; args: string) =
|
||||||
ensureCleanGit()
|
ensureCleanGit()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue