aboutsummaryrefslogtreecommitdiff
path: root/v_windows/v/old/vlib/v/pkgconfig/bin/pkgconfig.v
diff options
context:
space:
mode:
Diffstat (limited to 'v_windows/v/old/vlib/v/pkgconfig/bin/pkgconfig.v')
-rw-r--r--v_windows/v/old/vlib/v/pkgconfig/bin/pkgconfig.v18
1 files changed, 18 insertions, 0 deletions
diff --git a/v_windows/v/old/vlib/v/pkgconfig/bin/pkgconfig.v b/v_windows/v/old/vlib/v/pkgconfig/bin/pkgconfig.v
new file mode 100644
index 0000000..4e4642c
--- /dev/null
+++ b/v_windows/v/old/vlib/v/pkgconfig/bin/pkgconfig.v
@@ -0,0 +1,18 @@
+module main
+
+import os
+import v.pkgconfig
+
+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)
+ }
+}