Permalink
Browse files

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

…ges in the rules/task.rb
  • Loading branch information...
1 parent ca64c08 commit 97c3fc139ae2975024ed8ee457ddb4ab35297254 @andersmalm andersmalm committed Feb 25, 2013
Showing with 2 additions and 17 deletions.
  1. +2 −17 workfile.rb
View
@@ -61,23 +61,8 @@
NEWLIB_DIRS = ["libs"]
-class CopyDirWork < Work
- def initialize(name)
- @NAME = name
- end
- def setup
- builddir = "#{mosyncdir}/#{@NAME}"
- @prerequisites = [DirTask.new(self, builddir)]
- sources = Dir["#{@NAME}/*"]
- sources.each do |src|
- @prerequisites << CopyFileTask.new(self, "#{builddir}/#{File.basename(src)}",
- FileTask.new(self, src))
- end
- end
-end
-
-SKINS = CopyDirWork.new('skins')
-RULES = CopyDirWork.new('rules')
+SKINS = CopyDirWork.new(mosyncdir, 'skins')
+RULES = CopyDirWork.new(mosyncdir, 'rules')
class ExtensionIncludeWork < Work
def setup

0 comments on commit 97c3fc1

Please sign in to comment.