public
Fork of Caged/gitnub
Description: A Gitk-like application written in RubyCocoa that looks like it belongs on a Mac. See the wiki for downloads and screenshots.
Homepage: http://alternateidea.com
Clone URL: git://github.com/kballard/gitnub.git
Search Repo:
Error out in `rake run` if the open4 library cannot be found
kballard (author)
Sat May 10 11:13:05 -0700 2008
commit  1fd064f188ba5b0bf0db7ebe8fede24865f2ce8c
tree    4b1516a91d167cfb0ccf33e239bf936ec882a7b6
parent  00a2e5763b13f4734306a9fbdfa78068bcaf92d9
...
19
20
21
 
 
 
 
 
 
 
 
22
23
24
25
26
27
 
28
29
30
...
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
 
35
36
37
38
0
@@ -19,12 +19,20 @@
0
 # Tasks
0
 task :default => [:run]
0
 
0
+task :testdeps do
0
+ begin
0
+ require 'open4'
0
+ rescue LoadError
0
+ raise "You need to install the open4 gem before building GitNub"
0
+ end
0
+end
0
+
0
 task :launch do
0
   sh %{open "build/Release/#{APPNAME}.app"}
0
 end
0
 
0
 desc "Build the default and run it."
0
-task :run => [::build] do
0
+task :run => [:testdeps, :build] do
0
   sh %{open "build/Release/#{APPNAME}.app"}
0
 end
0
 

Comments

    No one has commented yet.