melos: 6.3.2 -> 7.1.0 (#437930)

This commit is contained in:
Peder Bergebakken Sundt
2025-08-31 17:11:17 +02:00
committed by GitHub
2 changed files with 11 additions and 9 deletions
+9 -7
View File
@@ -8,8 +8,13 @@ index 0db7013..218276f 100644
import 'package:melos/src/command_runner.dart';
-Future<void> main(List<String> arguments) async => launchExecutable(
- arguments,
- LaunchConfig(
- arguments,
- LaunchConfig(
- name: ExecutableName('melos'),
- launchFromSelf: false,
- entrypoint: melosEntryPoint,
- ),
-);
+Future<void> main(List<String> arguments) async {
+ final melosYamlPath = findMelosYaml();
+
@@ -24,13 +29,10 @@ index 0db7013..218276f 100644
+ LaunchContext(
+ directory: Directory.current,
+ localInstallation: ExecutableInstallation(
name: ExecutableName('melos'),
- launchFromSelf: false,
- entrypoint: melosEntryPoint,
+ name: ExecutableName('melos'),
+ isSelf: false,
+ packageRoot: melosYamlPath,
),
- );
+ ),
+ ),
+ );
+}
+2 -2
View File
@@ -5,12 +5,12 @@
}:
let
pname = "melos";
version = "6.3.2";
version = "7.1.0";
src = fetchFromGitHub {
owner = "invertase";
repo = "melos";
rev = "melos-v${version}";
hash = "sha256-hD4UlQPFugRqtOZecyT/6wV3vFocoQ6OO5w+SZsYdO0=";
hash = "sha256-caX59w0uxy5VW1p1hgds73m3sIjEutz5ZUuOzjdIr4Q=";
};
in
buildDartApplication {