(dep *models.Dependency)
| 39 | } |
| 40 | |
| 41 | func buildSearchPath(dep *models.Dependency) string { |
| 42 | var searchPath = "" |
| 43 | |
| 44 | if dep != nil { |
| 45 | searchPath = filepath.Join(env.GetModulesDir(), dep.GetName()) |
| 46 | |
| 47 | if pac, e := models.LoadPackageOther(filepath.Join(env.GetModulesDir(), dep.GetName(), consts.FilePackage)); e == nil { |
| 48 | searchPath += ";" + filepath.Join(env.GetModulesDir(), dep.GetName(), pac.MainSrc) |
| 49 | for _, lib := range pac.GetParsedDependencies() { |
| 50 | searchPath += buildSearchPath(&lib) |
| 51 | } |
| 52 | } |
| 53 | } |
| 54 | return searchPath |
| 55 | } |
| 56 | |
| 57 | func compile(dprojPath string, dep *models.Dependency, rootLock models.PackageLock) bool { |
| 58 | msg.Info(" Building " + filepath.Base(dprojPath)) |
no test coverage detected