diff options
author | Vendicated <vendicated@riseup.net> | 2022-10-22 01:22:44 +0200 |
---|---|---|
committer | Vendicated <vendicated@riseup.net> | 2022-10-22 01:22:44 +0200 |
commit | 7d555a96ea3ea97d15a97b8b3e3afcdc736d78ac (patch) | |
tree | 971ac9d2906651500cc6b505f73f92c9666896ef /scripts/build | |
parent | f92f3f1a5e2aba1ea6d765fd06b8a76217186085 (diff) | |
download | Vencord-7d555a96ea3ea97d15a97b8b3e3afcdc736d78ac.tar.gz Vencord-7d555a96ea3ea97d15a97b8b3e3afcdc736d78ac.tar.bz2 Vencord-7d555a96ea3ea97d15a97b8b3e3afcdc736d78ac.zip |
fix userscript, lint new files
Diffstat (limited to 'scripts/build')
-rwxr-xr-x | scripts/build/build.mjs | 18 | ||||
-rwxr-xr-x[-rw-r--r--] | scripts/build/buildWeb.mjs | 20 | ||||
-rw-r--r-- | scripts/build/common.mjs | 18 |
3 files changed, 55 insertions, 1 deletions
diff --git a/scripts/build/build.mjs b/scripts/build/build.mjs index 73d220d..f6304b1 100755 --- a/scripts/build/build.mjs +++ b/scripts/build/build.mjs @@ -1,4 +1,22 @@ #!/usr/bin/node +/* + * Vencord, a modification for Discord's desktop app + * Copyright (c) 2022 Vendicated and contributors + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. +*/ + import esbuild from "esbuild"; import { commonOpts, gitHashPlugin, globPlugins, makeAllPackagesExternalPlugin } from "./common.mjs"; diff --git a/scripts/build/buildWeb.mjs b/scripts/build/buildWeb.mjs index 6299398..8abac2c 100644..100755 --- a/scripts/build/buildWeb.mjs +++ b/scripts/build/buildWeb.mjs @@ -1,4 +1,22 @@ -// TODO: Modularise the plugins since both build scripts use them +#!/usr/bin/node +/* + * Vencord, a modification for Discord's desktop app + * Copyright (c) 2022 Vendicated and contributors + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. +*/ + import { createWriteStream, readFileSync } from "fs"; import yazl from "yazl"; diff --git a/scripts/build/common.mjs b/scripts/build/common.mjs index 0def0c2..6143fb2 100644 --- a/scripts/build/common.mjs +++ b/scripts/build/common.mjs @@ -1,3 +1,21 @@ +/* + * Vencord, a modification for Discord's desktop app + * Copyright (c) 2022 Vendicated and contributors + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. +*/ + import { execSync } from "child_process"; import esbuild from "esbuild"; import { existsSync } from "fs"; |