public
Description: Provide a nicer looking web interface for ticgit
Clone URL: git://github.com/pope/ticgit-watchtower.git
Rather than building to the pkg directory, I changed it to the build 
directory
pope (author)
Thu May 08 12:39:06 -0700 2008
commit  8f497ca5e8771d46355bc877c88fa1fae29d9141
tree    672602a1c91947e6ec8c413366d91f1c2ab329ba
parent  9c7beb39701889ebc7907177cb74748159a82f7a
...
1
2
3
4
 
5
6
 
7
8
9
10
 
 
11
12
13
...
28
29
30
31
 
32
...
1
2
3
 
4
5
 
6
7
8
 
 
9
10
11
12
13
...
28
29
30
 
31
32
0
@@ -1,13 +1,13 @@
0
 # Variables
0
 view_files = Dir.glob('views/*')
0
 
0
-task :default => ['pkg/watchtower.rb']
0
+task :default => ['build/watchtower.rb']
0
 
0
-directory 'pkg'
0
+directory 'build'
0
 
0
 desc "Builds the single sinatra file for serving everything up"
0
-file 'pkg/watchtower.rb' => ['pkg', 'watchtower.rb'].concat(view_files) do
0
- open('pkg/watchtower.rb', 'w') do |outfile|
0
+file 'build/watchtower.rb' => ['build', 'watchtower.rb'].concat(view_files) do
0
+ open('build/watchtower.rb', 'w') do |outfile|
0
     open('watchtower.rb') do |watchtower|
0
       while line = watchtower.gets
0
         outfile.puts line
0
@@ -28,5 +28,5 @@ end
0
 
0
 desc "Remove the build files"
0
 task :clean do
0
- rm_rf 'pkg'
0
+ rm_rf 'build'
0
 end

Comments

    No one has commented yet.