Seperate Module and Topdata Pipeline

This commit is contained in:
2026-04-09 22:12:06 +02:00
parent 9e13bb9bab
commit 75c90de628
4 changed files with 34 additions and 52 deletions
+1 -5
View File
@@ -30,7 +30,7 @@ type context struct {
var commands = []command{
{
name: "build",
description: "Build module and HAK outputs into build/.",
description: "Build module and HAK outputs into build/, plus top package output when topdata is configured.",
run: runBuild,
},
{
@@ -175,10 +175,6 @@ func runBuildModule(ctx context) error {
fmt.Fprintf(ctx.stdout, "project: %s\n", p.Config.Module.Name)
fmt.Fprintf(ctx.stdout, "module: %s\n", result.ModulePath)
fmt.Fprintf(ctx.stdout, "resources: %d\n", result.Resources)
if result.TopPackageHAK != "" {
fmt.Fprintf(ctx.stdout, "top package hak: %s\n", result.TopPackageHAK)
fmt.Fprintf(ctx.stdout, "top package tlk: %s\n", result.TopPackageTLK)
}
return nil
}