Seperate Module and Topdata Pipeline
This commit is contained in:
@@ -204,12 +204,6 @@ func ensureBuildIsCurrent(p *project.Project, modulePath string, hakPaths []stri
|
||||
archivePaths := make([]string, 0, 1+len(hakPaths))
|
||||
archivePaths = append(archivePaths, modulePath)
|
||||
archivePaths = append(archivePaths, hakPaths...)
|
||||
if p.HasTopData() {
|
||||
archivePaths = append(archivePaths,
|
||||
filepath.Join(p.BuildDir(), topdata.PackageHAKFileName),
|
||||
filepath.Join(p.BuildDir(), topdata.PackageTLKFileName),
|
||||
)
|
||||
}
|
||||
|
||||
oldestArchive := time.Time{}
|
||||
for _, path := range archivePaths {
|
||||
@@ -232,13 +226,6 @@ func ensureBuildIsCurrent(p *project.Project, modulePath string, hakPaths []stri
|
||||
for _, rel := range p.Inventory.AssetFiles {
|
||||
sourcePaths = append(sourcePaths, filepath.Join(p.AssetsDir(), filepath.FromSlash(rel)))
|
||||
}
|
||||
if p.HasTopData() {
|
||||
topSources, err := topPackageSourcePaths(p)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
sourcePaths = append(sourcePaths, topSources...)
|
||||
}
|
||||
|
||||
newestSource := time.Time{}
|
||||
newestPath := ""
|
||||
|
||||
Reference in New Issue
Block a user