Disable vfmt for now.

pull/4220/head
Delyan Angelov 2020-04-03 22:21:17 +03:00
parent 1d2de44e19
commit f8b4a6f168
1 changed files with 4 additions and 0 deletions

View File

@ -42,6 +42,10 @@ const (
)
fn main() {
if os.getenv('VFMT_ENABLE') == '' {
eprintln('v fmt is disabled for now')
exit(1)
}
toolexe := os.executable()
util.set_vroot_folder(os.dir(os.dir(os.dir(toolexe))))
args := join_flags_and_argument()