def METHOD_NAME(self):
    if os.path.isdir(self.build_dir):
        shutil.rmtree(self.build_dir)
    os.mkdir(self.build_dir)
    if os.path.isdir(self.log_dir):
        shutil.rmtree(self.log_dir)
    os.mkdir(self.log_dir)
    os.chdir(self.build_dir)
    call(["ino", "init"])
    shutil.copytree("../../PubSubClient", "lib/PubSubClient")
    filenames = []
    for root, dirs, files in os.walk(self.examples_dir):
        filenames += [os.path.join(root, f) for f in files if f.endswith(".ino")]
    filenames.sort()
    for e in filenames:
        self.examples.append(Sketch(self, e))
    filenames = []
    for root, dirs, files in os.walk(self.tests_dir):
        filenames += [os.path.join(root, f) for f in files if f.endswith(".ino")]
    filenames.sort()
    for e in filenames:
        self.tests.append(Sketch(self, e))