1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

compiler: add back support for -live

This commit is contained in:
Delyan Angelov
2020-05-01 20:34:27 +03:00
parent d6c1ee0202
commit 7038f59ca5
13 changed files with 431 additions and 317 deletions

View File

@@ -2,8 +2,10 @@ module main
import os
import time
import dl
const (
os_used = os.MAX_PATH
time_used = time.now()
dl_used = dl.version
)

View File

@@ -20,7 +20,6 @@ const (
'vlib/clipboard/clipboard_test.v',
'vlib/sqlite/sqlite_test.v',
'vlib/v/tests/live_test.v', // Linux & Solaris only; since live does not actually work for now with v2, just skip
'vlib/v/tests/asm_test.v', // skip everywhere for now, works on linux with cc != tcc
]
skip_on_linux = []string{}

View File

@@ -123,14 +123,14 @@ fn parse_args(args []string) (&pref.Preferences, string) {
'-cg' {
res.is_debug = true
}
'-live' {
res.is_live = true
}
'-repl' {
res.is_repl = true
}
'-live' {
res.is_livemain = true
}
'-sharedlive' {
res.is_live = true
res.is_liveshared = true
res.is_shared = true
}
'-shared' {