We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
nimble clean
1 parent f7486a1 commit 96df458Copy full SHA for 96df458
tests/tcleancommand.nim
@@ -0,0 +1,17 @@
1
+# Copyright (C) Nimble Authors. All rights reserved.
2
+# BSD License. Look at license.txt for more info.
3
+
4
+{.used.}
5
6
+import unittest, os
7
+import testscommon
8
+from nimblepkg/common import cd
9
10
+suite "nimble clean":
11
+ test "can clean":
12
+ cd "run":
13
+ check execNimbleYes("build").exitCode == QuitSuccess
14
+ check fileExists("run".addFileExt(ExeExt))
15
16
+ check execNimbleYes("clean").exitCode == QuitSuccess
17
+ check not fileExists("run".addFileExt(ExeExt))
tests/tester.nim
@@ -6,6 +6,7 @@ import testscommon
# suits imports
import tcheckcommand
+import tcleancommand
import tdevelopfeature
import tissues
import tlocaldeps
0 commit comments