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

19 lines
217 B
V
Raw Normal View History

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)
}
}