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

v.pref: fix ./v -usecache -cg run examples/hello_world.v

This commit is contained in:
Delyan Angelov
2021-08-15 08:35:26 +03:00
parent 40efe4f620
commit 3ffa6c1664
3 changed files with 11 additions and 4 deletions

View File

@@ -129,6 +129,11 @@ fn get_all_commands() []Command {
line: '$vexe install nedpals.args'
okmsg: '`v install` works.'
}
res << Command{
line: '$vexe -usecache -cg examples/hello_world.v'
okmsg: '`v -usecache -cg` works.'
rmfile: 'examples/hello_world'
}
// NB: test that a program that depends on thirdparty libraries with its
// own #flags (tetris depends on gg, which uses sokol) can be compiled
// with -usecache: