Gitlive.vala
[gitlive] / Gitlive.vala
1
2
3 /*
4  valac  --pkg gio-2.0  --pkg posix  --pkg gtk+-3.0 
5       GitLive.vala \
6       Monitor.vala \
7       GitMonitor.vala \
8       Spawn.vala \
9       StatusIcon.vala \
10       GitRepo.vala \
11     -o /tmp/Gitlive
12
13
14
15 */
16
17
18
19
20
21 static int main (string[] args) {
22     // A reference to our file
23     //var file = File.new_for_path ("data.txt");
24     MainLoop loop = new MainLoop ();
25     print("starting");
26     var m = new Monitor();
27     
28     m.add("/home/alan/gitlive");
29     m.start();
30     loop.run ();
31
32     return 0;
33
34 }