1 parent 104fc55 commit 69aedacCopy full SHA for 69aedac
1 file changed
test/executable.janet
@@ -10,11 +10,10 @@
10
11
(defn- rmrf
12
[path]
13
- (def sep (get {:windows "\\" :cygwin "\\" :mingw "\\"} (os/which) "/"))
14
(case (os/lstat path :mode)
15
:directory (do
16
(each subpath (os/dir path)
17
- (rmrf (string path sep subpath)))
+ (rmrf (string path "/" subpath)))
18
(os/rmdir path))
19
nil nil # do nothing if file does not exist
20
(os/rm path)))
@@ -120,6 +119,6 @@
120
119
(with-dyns [:out @"" :err @""]
121
(def build (module/value bundle 'build))
122
(build {:info test-info})))
123
- (os/rename "predoc-test" "tmp/predoc")
+ (os/rename "_build/predoc-test" "tmp/predoc")
124
(os/chmod "tmp/predoc" 8r755)
125
(run-tests!))
0 commit comments