Fix Topdata Build
This commit is contained in:
+5
-1
@@ -352,7 +352,7 @@ func runBuildTopData(ctx context) error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
result, err := topdata.Build(p, func(message string) {
|
result, err := topdata.BuildAndPackage(p, func(message string) {
|
||||||
fmt.Fprintf(ctx.stdout, "[build-topdata] %s\n", message)
|
fmt.Fprintf(ctx.stdout, "[build-topdata] %s\n", message)
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -363,8 +363,12 @@ func runBuildTopData(ctx context) error {
|
|||||||
fmt.Fprintf(ctx.stdout, "mode: %s\n", result.Mode)
|
fmt.Fprintf(ctx.stdout, "mode: %s\n", result.Mode)
|
||||||
fmt.Fprintf(ctx.stdout, "topdata 2da output: %s\n", result.Output2DADir)
|
fmt.Fprintf(ctx.stdout, "topdata 2da output: %s\n", result.Output2DADir)
|
||||||
fmt.Fprintf(ctx.stdout, "topdata tlk output: %s\n", result.OutputTLKDir)
|
fmt.Fprintf(ctx.stdout, "topdata tlk output: %s\n", result.OutputTLKDir)
|
||||||
|
fmt.Fprintf(ctx.stdout, "top package hak: %s\n", result.OutputHAKPath)
|
||||||
|
fmt.Fprintf(ctx.stdout, "top package tlk: %s\n", result.OutputTLKPath)
|
||||||
fmt.Fprintf(ctx.stdout, "2da files: %d\n", result.Files2DA)
|
fmt.Fprintf(ctx.stdout, "2da files: %d\n", result.Files2DA)
|
||||||
fmt.Fprintf(ctx.stdout, "tlk files: %d\n", result.FilesTLK)
|
fmt.Fprintf(ctx.stdout, "tlk files: %d\n", result.FilesTLK)
|
||||||
|
fmt.Fprintf(ctx.stdout, "top package resources: %d\n", result.HAKResources)
|
||||||
|
fmt.Fprintf(ctx.stdout, "top package assets: %d\n", result.AssetFiles)
|
||||||
if result.WikiOutputDir != "" {
|
if result.WikiOutputDir != "" {
|
||||||
fmt.Fprintf(ctx.stdout, "wiki output: %s\n", result.WikiOutputDir)
|
fmt.Fprintf(ctx.stdout, "wiki output: %s\n", result.WikiOutputDir)
|
||||||
fmt.Fprintf(ctx.stdout, "wiki pages: %d\n", result.WikiPages)
|
fmt.Fprintf(ctx.stdout, "wiki pages: %d\n", result.WikiPages)
|
||||||
|
|||||||
Reference in New Issue
Block a user