Native Wiki Generation
This commit is contained in:
@@ -117,11 +117,14 @@ func formatDiagnosticSummaryLine(prefix, message string, paths []string, maxPath
|
||||
}
|
||||
|
||||
type BuildResult struct {
|
||||
Mode string
|
||||
Output2DADir string
|
||||
OutputTLKDir string
|
||||
Files2DA int
|
||||
FilesTLK int
|
||||
Mode string
|
||||
Output2DADir string
|
||||
OutputTLKDir string
|
||||
Files2DA int
|
||||
FilesTLK int
|
||||
WikiOutputDir string
|
||||
WikiPages int
|
||||
WikiStatus string
|
||||
}
|
||||
|
||||
type PackageResult struct {
|
||||
@@ -134,6 +137,9 @@ type PackageResult struct {
|
||||
FilesTLK int
|
||||
HAKResources int
|
||||
AssetFiles int
|
||||
WikiOutputDir string
|
||||
WikiPages int
|
||||
WikiStatus string
|
||||
}
|
||||
|
||||
type CompareResult struct {
|
||||
@@ -1072,7 +1078,7 @@ func validateNativeBuildability(p *project.Project, report *ValidationReport) {
|
||||
|
||||
clone := *p
|
||||
clone.Config.TopData.Build = tempBuild
|
||||
if _, err := buildNativeUnchecked(&clone, nil); err != nil {
|
||||
if _, err := buildNativeUnchecked(&clone, nil, nil); err != nil {
|
||||
report.Diagnostics = append(report.Diagnostics, Diagnostic{
|
||||
Severity: SeverityError,
|
||||
Path: p.TopDataSourceDir(),
|
||||
@@ -1416,7 +1422,7 @@ func compareNativeSelfCheck(p *project.Project, actual2DA, actualTLK string, pro
|
||||
|
||||
nativeProject := *p
|
||||
nativeProject.Config.TopData.Build = tempBuild
|
||||
nativeResult, err := buildNativeUnchecked(&nativeProject, nil)
|
||||
nativeResult, err := buildNativeUnchecked(&nativeProject, nil, nil)
|
||||
if err != nil {
|
||||
return 0, 0, 0, len(projectOutputs), nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user