Remove linting (not used)
This commit is contained in:
parent
a793f91130
commit
28b1f26b8e
14
lint.nims
14
lint.nims
|
@ -1,14 +0,0 @@
|
|||
#!/usr/bin/env nim
|
||||
import std/strutils
|
||||
|
||||
proc lintFile*(file: string) =
|
||||
if file.endsWith(".nim"):
|
||||
exec "nimpretty " & file
|
||||
|
||||
proc lintDir*(dir: string) =
|
||||
for file in listFiles(dir):
|
||||
lintFile(file)
|
||||
for subdir in listDirs(dir):
|
||||
lintDir(subdir)
|
||||
|
||||
lintDir(projectDir())
|
|
@ -11,6 +11,3 @@ requires "nimcrypto >= 0.5.4 & < 0.6.0"
|
|||
requires "ngtcp2 >= 0.32.0 & < 0.33.0"
|
||||
requires "upraises >= 0.1.0 & < 0.2.0"
|
||||
requires "asynctest >= 0.2.1 & < 0.3.0"
|
||||
|
||||
task lint, "format source files according to the official style guide":
|
||||
exec "./lint.nims"
|
||||
|
|
Loading…
Reference in New Issue