]> git.tdb.fi Git - builder.git/blobdiff - source/builder.h
Rename create_targets to prepare_build and make it return bool
[builder.git] / source / builder.h
index 943c8513cb5a90deb60173f5b29f164756836fb8..9f792f828c78a3d4b0c327aa1d13868fcf6d7aac 100644 (file)
@@ -128,10 +128,10 @@ public:
        int load_build_file(const Msp::FS::Path &);
 
 private:
-       /** Creates targets for all packages and prepares them for building.
-       Returns 0 if everything went ok, -1 if something bad happened and a build
-       shouldn't be attempted. */
-       int create_targets();
+       /** Prepares packages and targets for building.  Returns true if everything
+       went ok, or false if something bad happened and a build shouldn't be
+       attempted. */
+       bool prepare_build();
 
        /** Supervises the build process, starting new actions when slots become
        available. */