Skip to content

Commit

Permalink
fix: investigate build issues (#167)
Browse files Browse the repository at this point in the history
* cache everything except the target
  • Loading branch information
j4qfrost authored Jan 11, 2023
1 parent fc5173e commit ee79f9e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/cli/lib/src/cli/commands/build.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import 'dart:io';
import 'dart:mirrors';

import 'package:args/args.dart' as arg_package;
import 'package:collection/collection.dart';
import 'package:conduit/src/cli/command.dart';
import 'package:conduit/src/cli/metadata.dart';
import 'package:conduit/src/cli/mixins/project.dart';
Expand Down Expand Up @@ -47,8 +48,8 @@ class CLIBuild extends CLICommand with CLIProject {
final cfg = await ctx.packageConfig;

final packageNames = cfg.packages
.where((pkg) => pkg.name.startsWith('conduit_'))
.map((pkg) => pkg.name);
.map((pkg) => pkg.name)
.whereNot((pkg) => pkg == libraryName);

const String cmd = "dart";
final args = ["pub", "cache", "add", "-v", projectVersion!.toString()];
Expand Down

0 comments on commit ee79f9e

Please sign in to comment.