Skip to content

Commit 49a7da2

Browse files
committed
make verify.v directly runnable from the main V repo folder too
1 parent e4847c7 commit 49a7da2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

verify.v

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import v.util.diff
33
import time
44
import term
55

6-
const wd = os.getwd()
6+
const wd = @DIR
77

88
const vexe = @VEXE
99

@@ -132,6 +132,7 @@ fn cleanup_gitkeep_files(v_file string) {
132132
}
133133

134134
fn main() {
135+
os.chdir(wd)!
135136
start_time := time.now()
136137
unbuffer_stdout()
137138
mut v_files := discover_files()!

0 commit comments

Comments
 (0)