2020-05-28 21:07:39 +02:00
|
|
|
/*
|
2024-09-06 18:56:18 +02:00
|
|
|
Copyright 2024 New Vector Ltd.
|
2020-05-28 21:07:39 +02:00
|
|
|
Copyright 2020 The Matrix.org Foundation C.I.C.
|
|
|
|
|
2024-09-06 18:56:18 +02:00
|
|
|
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
|
|
|
|
Please see LICENSE files in the repository root for full details.
|
2020-05-28 21:07:39 +02:00
|
|
|
*/
|
|
|
|
|
2024-10-30 19:06:03 +01:00
|
|
|
import type HakEnv from "../../scripts/hak/hakEnv.js";
|
|
|
|
import type { DependencyInfo } from "../../scripts/hak/dep.js";
|
2021-12-14 15:32:27 +01:00
|
|
|
|
2022-12-15 12:00:58 +01:00
|
|
|
export default async function (hakEnv: HakEnv, moduleInfo: DependencyInfo): Promise<void> {
|
2024-10-30 19:06:03 +01:00
|
|
|
// node-gyp uses python for reasons beyond comprehension
|
|
|
|
await hakEnv.checkTools([["python", "--version"]]);
|
2021-12-14 15:32:27 +01:00
|
|
|
}
|