()
| 293 | } |
| 294 | |
| 295 | func (e *Exporter) exportToolchainFile() error { |
| 296 | src := filepath.Join(dirs.WorkspaceDir, "toolchain_file.cmake") |
| 297 | dst := filepath.Join(e.exportDir, "toolchain_file.cmake") |
| 298 | |
| 299 | if !fileio.PathExists(src) { |
| 300 | return fmt.Errorf("toolchain file not found") |
| 301 | } |
| 302 | |
| 303 | return fileio.CopyFile(src, dst) |
| 304 | } |
| 305 | |
| 306 | func (e *Exporter) exportCelerExecutable() error { |
| 307 | exePath, err := os.Executable() |
no test coverage detected