]> git.tdb.fi Git - builder.git/blobdiff - source/copy.h
Redesign how tools are run
[builder.git] / source / copy.h
index c0a433996a9c0a14625ebf918c9c6092eac6d9e0..d65bb05a0c70e62b87382cea20fb16950b8b5061 100644 (file)
@@ -11,10 +11,9 @@ Copies a file to another place.  Used by the InstalledFile target.
 class Copy: public Tool
 {
 public:
-       Copy(Builder &b): Tool(b, "CP") { }
+       Copy(Builder &);
 
        Target *create_target(const std::vector<Target *> &, const std::string &) override;
-       Task *run(const Target &) const override;
 
 private:
        static bool _run(const InstalledFile &);