diff options
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"; |