from ild import building

##
# @brief File that contains the different tasks that duckling can
# do for the user
#
# @author Jeff Swenson

class Tasks:

    def __init__(self, project_root):
        self.project_root = project_root

    ##
    # @brief Generate doxygen documentation for the project.
    def generate_documentation(self):
        building.generate_documentation(os.path.join(self.project_root,"Doc",".doxyrc"))

    ##
    # @brief Clean up the build directory
    def clean_build_directory(self):
        building.command("rm -rf build/*",directory=project_root)

    ##
    # @brief Download and build dependencies for an Android build
    def get_android_dependencies(self):
        get_depend.main(self.project_root, "Android")

    ##
    # @brief Build the Ancona based game for the given platform.
    #
    # @param platform Platform that is being built for.
    def build_ancona(self, platform):
        building.generate_ancona_build(self.project_root, platform)



import os

from ild import building,get_depend

##
# @brief File that contains the different tasks that duckling can
# do for the user
#
# @author Jeff Swenson

class Tasks:

    def __init__(self, project_root):
        self.project_root = project_root

    ##
    # @brief Generate doxygen documentation for the project.
    def generate_documentation(self):
        building.generate_documentation(os.path.join(self.project_root,"Doc",".doxyrc"))

    ##
    # @brief Clean up the build directory
    def clean_build_directory(self):
        building.command("rm -rf build/*",directory=self.project_root)

    ##
    # @brief Download and build dependencies for an Android build
    def get_android_dependencies(self):
        get_depend.main(self.project_root, "Android")

    ##
    # @brief Build the Ancona based game for the given platform.
    #
    # @param platform Platform that is being built for.
    def build_ancona(self, platform):
        building.generate_ancona_build(self.project_root, platform)



Add missing imports