Attribute changed Makefile
authorAlan Knowles <alan@roojs.com>
Fri, 12 Sep 2014 03:56:47 +0000 (11:56 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 12 Sep 2014 03:56:47 +0000 (11:56 +0800)
Makefile
Attribute changed GitMonitor.vala
GitMonitor.vala

GitMonitor.vala
Makefile [new file with mode: 0644]

index 6a67288..d8ca8eb 100644 (file)
@@ -124,17 +124,17 @@ public class GitMonitorQueue : MonitorNamePathDir {
             
         }
         
-        public static bool GitMonitorQueue.queueHas(Array<GitMonitorQueue> list , GitMonitorQueue cmd_s, string action)) {
+        public static bool  queueHas(Array<GitMonitorQueue> list , GitMonitorQueue cmd_s, string action) {
             for(var i =0; i < list.length; i++) {
                 var test = list.index(i);
                 if (list.index(i).gitpath != cmd_s.gitpath) {
-                    continue
+                    continue;
                 }
                 if (list.index(i).vname != cmd_s.vname) {
-                    continue
+                    continue;
                 }
                 if (list.index(i).action != action) {
-                    continue
+                    continue;
                 }
                 return true;
             }
diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..350407f
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,30 @@
+
+PKGS=   --pkg gio-2.0  \
+               --pkg posix  \
+               --pkg gtk+-3.0 \
+               --pkg libnotify \
+               --pkg  libwnck-3.0 
+
+FLAGS= -g --vapidir=. --Xcc=-lXss --Xcc=-DWNCK_I_KNOW_THIS_IS_UNSTABLE
+
+CORESRC=        JsRender/*.vala \
+               Project/*.vala \
+               Palete/*.vala \
+               Builder4/Application.vala
+
+SRC=  Gitlive.vala \
+      Monitor.vala \
+      GitMonitor.vala \
+      Spawn.vala \
+      StatusIcon.vala \
+      GitRepo.vala \
+    xorg_idletime.c \
+    WindowLog.vala
+
+  
+all:  gitlive
+
+gitlive:
+       valac $(FLAGS) $(PKGS) $(SRC)  \
+                 -o /usr/bin/Gitlive
+