Centralize configuration, logging, database decryption and resource metadata. Use task dependencies for development, SDK and release builds; move source tools and game downloads to Go with ordered client preparation. Rename the client to BD2 Launcher, add native icons, and update packaging and SDK checks.
18 lines
563 B
Go
18 lines
563 B
Go
//go:build !release
|
|
|
|
package main
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestDevelopmentPlanSkipsBackendRebuildAndPluginPreparation(t *testing.T) {
|
|
args := []string{"--dev", "run", "--plan", "--game-dir", t.TempDir()}
|
|
if relaunched, err := relaunchDevelopmentIfNeeded(args); relaunched || err != nil {
|
|
t.Fatalf("inspection rebuilt the desktop backend: %v, %v", relaunched, err)
|
|
}
|
|
if handled, err := runClientDevelopmentCommand(args); !handled || err != nil {
|
|
t.Fatalf("inspection attempted to prepare an incomplete game or start its UI: %v, %v", handled, err)
|
|
}
|
|
}
|