1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-12-24 19:48:21 +09:00
cherrypick/scripts/build-pre.js
2023-08-01 17:16:39 +09:00

11 lines
360 B
JavaScript

/*
* SPDX-FileCopyrightText: syuilo and other misskey, cherrypick contributors
* SPDX-License-Identifier: AGPL-3.0-only
*/
const fs = require('fs');
const meta = require('../package.json');
fs.mkdirSync(__dirname + '/../built', { recursive: true });
fs.writeFileSync(__dirname + '/../built/meta.json', JSON.stringify({ version: meta.version }), 'utf-8');