| ... | ... | @@ -162,7 +162,7 @@ const resolveBooleanFlag = (flag: Option.Option<boolean>, envValue: boolean) => |
| 162 | 162 | const mergeOptions = <A>(a: Option.Option<A>, b: Option.Option<A>, defaultValue: A) => |
| 163 | 163 | Option.getOrElse(a, () => Option.getOrElse(b, () => defaultValue)); |
| 164 | 164 | |
| 165 | | const resolveBuildOptions = Effect.fn(function* (input: BuildCliInput) { |
| 165 | const resolveBuildOptions = Effect.fn("resolveBuildOptions")(function* (input: BuildCliInput) { |
| 166 | 166 | const path = yield* Path.Path; |
| 167 | 167 | const repoRoot = yield* RepoRoot; |
| 168 | 168 | const env = yield* BuildEnvConfig.asEffect(); |
| ... | ... | @@ -208,7 +208,7 @@ const commandOutputOptions = (verbose: boolean) => |
| 208 | 208 | stderr: "inherit", |
| 209 | 209 | }) as const; |
| 210 | 210 | |
| 211 | | const runCommand = Effect.fn(function* (command: ChildProcess.Command) { |
| 211 | const runCommand = Effect.fn("runCommand")(function* (command: ChildProcess.Command) { |
| 212 | 212 | const commandSpawner = yield* ChildProcessSpawner.ChildProcessSpawner; |
| 213 | 213 | const child = yield* commandSpawner.spawn(command); |
| 214 | 214 | const exitCode = yield* child.exitCode; |
| ... | ... | @@ -321,7 +321,7 @@ function validateBundledClientAssets(clientDir: string) { |
| 321 | 321 | }); |
| 322 | 322 | } |
| 323 | 323 | |
| 324 | | const createBuildConfig = Effect.fn(function* ( |
| 324 | const createBuildConfig = Effect.fn("createBuildConfig")(function* ( |
| 325 | 325 | platform: typeof BuildPlatform.Type, |
| 326 | 326 | target: string, |
| 327 | 327 | productName: string, |
| ... | ... | @@ -366,7 +366,7 @@ const createBuildConfig = Effect.fn(function* ( |
| 366 | 366 | return buildConfig; |
| 367 | 367 | }); |
| 368 | 368 | |
| 369 | | const assertPlatformBuildResources = Effect.fn(function* ( |
| 369 | const assertPlatformBuildResources = Effect.fn("assertPlatformBuildResources")(function* ( |
| 370 | 370 | platform: typeof BuildPlatform.Type, |
| 371 | 371 | stageResourcesDir: string, |
| 372 | 372 | verbose: boolean, |
| ... | ... | @@ -399,7 +399,9 @@ const assertPlatformBuildResources = Effect.fn(function* ( |
| 399 | 399 | } |
| 400 | 400 | }); |
| 401 | 401 | |
| 402 | | const buildDesktopArtifact = Effect.fn(function* (options: ResolvedBuildOptions) { |
| 402 | const buildDesktopArtifact = Effect.fn("buildDesktopArtifact")(function* ( |
| 403 | options: ResolvedBuildOptions, |
| 404 | ) { |
| 403 | 405 | const repoRoot = yield* RepoRoot; |
| 404 | 406 | const path = yield* Path.Path; |
| 405 | 407 | const fs = yield* FileSystem.FileSystem; |