build: update directive and prepare tasks to new structure.

This commit is contained in:
Alexandre Pujol 2024-10-23 15:47:49 +01:00
parent 17cee26dc0
commit b614bdda36
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
8 changed files with 57 additions and 17 deletions

View file

@ -66,7 +66,7 @@ func getRootBuild() *paths.Path {
func getPackages() []string {
files, err := PkgDir.ReadDirRecursiveFiltered(nil, paths.FilterOutDirectories())
if err != nil {
panic(err)
return []string{}
}
packages := make([]string, 0, len(files))
for _, file := range files {