melos: 6.3.2 -> 7.1.0 (#437930)
This commit is contained in:
@@ -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,
|
||||
),
|
||||
- );
|
||||
+ ),
|
||||
+ ),
|
||||
+ );
|
||||
+}
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user