From eafc83402124692394a53bebebf8f2b88f104e86 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Sat, 10 May 2014 19:11:43 +0800 Subject: [PATCH] Gitlive.vala --- Gitlive.vala | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/Gitlive.vala b/Gitlive.vala index e69de29b..24bfce4b 100644 --- a/Gitlive.vala +++ b/Gitlive.vala @@ -0,0 +1,34 @@ + + +/* + valac --pkg gio-2.0 --pkg posix + GitLive.vala \ + Monitor.vala \ + GitMonitor.vala \ + Spawn.vala \ + StatusIcon.vala \ + GitRepo.vala \ + -o /tmp/Gitlive + + + + + + + + + +static int main (string[] args) { + // A reference to our file + //var file = File.new_for_path ("data.txt"); + MainLoop loop = new MainLoop (); + print("starting"); + var m = new Monitor(); + + m.add("/home/alan/gitlive"); + m.start(); + loop.run (); + + return 0; + +} -- 2.39.2