def _do_install(self, tag: str) -> None: rustup_path = self._get_rustup_path() downloader.download("https://sh.rustup.rs", rustup_path) utils.mark_executable(rustup_path) args = [rustup_path, "--verbose", "--default-toolchain", "nightly", "--profile", "minimal", "--target", "wasm32-unknown-unknown", "--no-modify-path", "-y"] myprocess.run_process_async(args, env=self.get_env())
def install(self, overwrite): logger.debug(f"install: name={self.name}, tag={self.tag}") if self._should_skip(overwrite): logger.debug("Already exists. Skip install.") return rustup_path = self._get_rustup_path() downloader.download("https://sh.rustup.rs", rustup_path) utils.mark_executable(rustup_path) args = [rustup_path, "--verbose", "--default-toolchain", "nightly", "--profile", "minimal", "--target", "wasm32-unknown-unknown", "--no-modify-path", "-y"] myprocess.run_process_async(args, env=self.get_env())
def _post_install(self, tag: str): directory = self.get_directory(tag) utils.mark_executable(path.join(directory, "arwen")) utils.mark_executable(path.join(directory, "arwendebug")) utils.mark_executable(path.join(directory, "test")) utils.symlink(path.join(directory, "arwendebug"), os.path.join(self.get_parent_directory(), "arwendebug")) utils.symlink(path.join(directory, "test"), os.path.join(self.get_parent_directory(), "mandos-test"))
def _post_install(self, tag: str): directory = self.get_directory(tag) utils.mark_executable(path.join(directory, "signer"))
def install(self, overwrite): super().install(overwrite) utils.mark_executable(path.join(self.get_directory(), "soll"))
def install(self, overwrite): super().install(overwrite) utils.mark_executable(path.join(self.get_directory(), "arwen")) utils.mark_executable(path.join(self.get_directory(), "arwendebug")) utils.mark_executable(path.join(self.get_directory(), "test"))