diff --git a/lint.nims b/lint.nims deleted file mode 100755 index 40e516c..0000000 --- a/lint.nims +++ /dev/null @@ -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()) diff --git a/quic.nimble b/quic.nimble index 1a56d30..43cde36 100644 --- a/quic.nimble +++ b/quic.nimble @@ -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"