High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
chore(mobile): depend on OpenAPI generation in appropriate codegen tasks (#30425)
Adam Gastineau920552c1c245
diff --git a/mise.toml b/mise.tomlindex f01c07f980..ad7fdf5a90 100644--- a/mise.toml+++ b/mise.toml@@ -69,7 +69,7 @@ sources = ["patch/*","bin/generate-dart-sdk.sh",]-outputs = ["../mobile/openapi/lib/"]+outputs = ["../mobile/generated/openapi/"]run = "bash ./bin/generate-dart-sdk.sh"[tasks.open-api]diff --git a/mobile/mise.toml b/mobile/mise.tomlindex ce7c626e18..91cdb77a19 100644--- a/mobile/mise.toml+++ b/mobile/mise.toml@@ -17,7 +17,7 @@ windows-x64 = { asset_pattern = "dcm-windows-release.zip" }[tasks.codegen]alias = "codegen"description = "Generate all codegen artifacts"-depends = ["codegen:dart", "codegen:drift:schema", "codegen:pigeon", "codegen:translation"]+depends = ["//:open-api-dart", "codegen:dart", "codegen:drift:schema", "codegen:pigeon", "codegen:translation"][tasks."codegen:dart"]description = "Execute build_runner to auto-generate dart code"@@ -32,12 +32,14 @@ run = ["dart run build_runner build --delete-conflicting-outputs","dart format lib/routing/router.gr.dart",]+depends = ["//:open-api-dart"][tasks."codegen:drift:schema"]description = "Generate Drift migration schema test code"sources = ["drift_schemas/main/*.json"]outputs = { auto = true }run = "dart run drift_dev schema generate --data-classes --companions drift_schemas/main/ test/drift/main/generated/"+depends = ["//:open-api-dart"][tasks."codegen:watch"]alias = "watch"@@ -51,6 +53,7 @@ run = ["ls pigeon/*.dart | xargs -n1 -P4 -I{} dart run pigeon --input {}","dart format lib/platform/",]+depends = ["//:open-api-dart"][tasks."codegen:translation"]alias = "translation"@@ -123,6 +126,7 @@ run = ["dart run easy_localization:generate -S ../i18n","dart format lib/generated/codegen_loader.g.dart",]+depends = ["//:open-api-dart"][tasks."i18n:keys"]description = "Generate i18n keys"