refactor: rework BuildSystem and Platorm with enum
test / test (push) Failing after 5m53s

This commit is contained in:
2026-10-28 00:41:52 +03:00
parent 428f9d100e
commit 0672f2a1e0
9 changed files with 65 additions and 52 deletions
+3 -3
View File
@@ -8,7 +8,7 @@ import { System } from "../common/system";
import template from "../common/template";
import { Config, type ConfigParams, type SignKey } from "../core/config";
import { Sdk } from "../core/sdk";
import { Platform } from "../core/type";
import { BuildSystem, Platform } from "../core/type";
import { Haxe } from "../impl/haxe";
export interface PresetConfig {
@@ -24,8 +24,8 @@ export const DEFAULT_CONFIG: PresetConfig = {
};
export interface ProjectPreset {
buildSystem?: string;
platforms?: string[];
buildSystem?: BuildSystem;
platforms?: Platform[];
config: ConfigParams;
}