mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
19 lines
217 B
V
19 lines
217 B
V
module main
|
|
|
|
import pkgconfig
|
|
import os
|
|
|
|
fn main() {
|
|
mut m := pkgconfig.main(os.args[1..]) or {
|
|
eprintln(err)
|
|
exit(1)
|
|
}
|
|
m.res = m.run() or {
|
|
eprintln(err)
|
|
exit(1)
|
|
}
|
|
if m.res != '' {
|
|
println(m.res)
|
|
}
|
|
}
|