Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Updated the root workfile, contained conflicting code related to chan…

…ges in the rules/task.rb
  • Loading branch information...
commit 97c3fc139ae2975024ed8ee457ddb4ab35297254 1 parent ca64c08
Anders Malm authored February 25, 2013

Showing 1 changed file with 2 additions and 17 deletions. Show diff stats Hide diff stats

  1. 19  workfile.rb
19  workfile.rb
@@ -61,23 +61,8 @@
61 61
 
62 62
 NEWLIB_DIRS = ["libs"]
63 63
 
64  
-class CopyDirWork < Work
65  
-	def initialize(name)
66  
-		@NAME = name
67  
-	end
68  
-	def setup
69  
-		builddir = "#{mosyncdir}/#{@NAME}"
70  
-		@prerequisites = [DirTask.new(self, builddir)]
71  
-		sources = Dir["#{@NAME}/*"]
72  
-		sources.each do |src|
73  
-			@prerequisites << CopyFileTask.new(self, "#{builddir}/#{File.basename(src)}",
74  
-				FileTask.new(self, src))
75  
-		end
76  
-	end
77  
-end
78  
-
79  
-SKINS = CopyDirWork.new('skins')
80  
-RULES = CopyDirWork.new('rules')
  64
+SKINS = CopyDirWork.new(mosyncdir, 'skins')
  65
+RULES = CopyDirWork.new(mosyncdir, 'rules')
81 66
 
82 67
 class ExtensionIncludeWork < Work
83 68
 	def setup

0 notes on commit 97c3fc1

Please sign in to comment.
Something went wrong with that request. Please try again.