lib/build.rb in dev_tasks-0.0.155 vs lib/build.rb in dev_tasks-0.0.156
- old
+ new
@@ -1,13 +1,11 @@
require_relative './color.rb'
+require_relative './commandarray.rb'
require_relative './msbuild.rb'
-class Build < Array
+class Build < CommandArray
- def initialize
- end
-
def update
if(defined?(DEV_TASKS))
msbuild=MSBuild.new
#glob='**/*.{gemspec,sln}'
#glob=DEV_TASKS[:build_glob] if(defined?(DEV_TASKS)) && DEV_TASKS.has_key?(:build_glob)
@@ -24,11 +22,7 @@
}
end
end
}
end
- end
-
- def add command
- self << command if(!include?(command))
end
end
\ No newline at end of file