summary refs log tree commit diff
path: root/bundle/scripts
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--scripts/benchmark/connections.js (renamed from bundle/scripts/benchmark/connections.js)0
-rw-r--r--scripts/benchmark/index.js (renamed from bundle/scripts/benchmark/index.js)0
-rw-r--r--scripts/benchmark/users.js (renamed from bundle/scripts/benchmark/users.js)0
-rw-r--r--scripts/build.js (renamed from bundle/scripts/build.js)11
-rwxr-xr-xscripts/db_migrations.sh (renamed from bundle/scripts/db_migrations.sh)0
-rw-r--r--scripts/depcheck.js (renamed from bundle/scripts/depcheck.js)0
-rw-r--r--scripts/depclean.js (renamed from bundle/scripts/depclean.js)0
-rw-r--r--scripts/gen_index.js (renamed from bundle/scripts/gen_index.js)0
-rw-r--r--scripts/install.js (renamed from bundle/scripts/install.js)0
-rw-r--r--scripts/rights.js (renamed from bundle/scripts/rights.js)0
-rw-r--r--scripts/update_schemas.js (renamed from bundle/scripts/update_schemas.js)0
-rw-r--r--scripts/utils.js (renamed from bundle/scripts/utils.js)0
12 files changed, 1 insertions, 10 deletions
diff --git a/bundle/scripts/benchmark/connections.js b/scripts/benchmark/connections.js

index 661548c3..661548c3 100644 --- a/bundle/scripts/benchmark/connections.js +++ b/scripts/benchmark/connections.js
diff --git a/bundle/scripts/benchmark/index.js b/scripts/benchmark/index.js
index 37ac5633..37ac5633 100644 --- a/bundle/scripts/benchmark/index.js +++ b/scripts/benchmark/index.js
diff --git a/bundle/scripts/benchmark/users.js b/scripts/benchmark/users.js
index bce67bf4..bce67bf4 100644 --- a/bundle/scripts/benchmark/users.js +++ b/scripts/benchmark/users.js
diff --git a/bundle/scripts/build.js b/scripts/build.js
index f53a2223..49353c87 100644 --- a/bundle/scripts/build.js +++ b/scripts/build.js
@@ -1,9 +1,8 @@ const { execSync } = require("child_process"); const path = require("path"); const fs = require("fs"); -const { getSystemErrorMap } = require("util"); const { argv, stdout, exit } = require("process"); -const { copyRecursiveSync, execIn, parts } = require('./utils'); +const { execIn, parts } = require('./utils'); if(argv.includes("help")) { console.log(`Fosscord build script help: @@ -44,14 +43,6 @@ console.log(`[${++i}/${steps}] Checking if dependencies were installed correctly if(!fs.existsSync(path.join(__dirname, "..", "node_modules", "exif-be-gone", "index.js"))) execIn("npm run build", path.join(__dirname, "..", "node_modules", "exif-be-gone")); -console.log(`[${++i}/${steps}] Copying src files...`); -copyRecursiveSync(path.join(__dirname, "..", "..", "api", "assets"), path.join(__dirname, "..", "dist", "api", "assets")); -copyRecursiveSync(path.join(__dirname, "..", "..", "api", "client_test"), path.join(__dirname, "..", "dist", "api", "client_test")); -copyRecursiveSync(path.join(__dirname, "..", "..", "api", "locales"), path.join(__dirname, "..", "dist", "api", "locales")); -parts.forEach((a) => { - copyRecursiveSync("../" + a + "/src", "dist/" + a + "/src"); - if (verbose) console.log(`Copied ${"../" + a + "/dist"} -> ${"dist/" + a + "/src"}!`); -}); if (!argv.includes("copyonly")) { console.log(`[${++i}/${steps}] Compiling src files ...`); diff --git a/bundle/scripts/db_migrations.sh b/scripts/db_migrations.sh
index 83f15a2b..83f15a2b 100755 --- a/bundle/scripts/db_migrations.sh +++ b/scripts/db_migrations.sh
diff --git a/bundle/scripts/depcheck.js b/scripts/depcheck.js
index 1957f794..1957f794 100644 --- a/bundle/scripts/depcheck.js +++ b/scripts/depcheck.js
diff --git a/bundle/scripts/depclean.js b/scripts/depclean.js
index 830081b9..830081b9 100644 --- a/bundle/scripts/depclean.js +++ b/scripts/depclean.js
diff --git a/bundle/scripts/gen_index.js b/scripts/gen_index.js
index 71c64a9f..71c64a9f 100644 --- a/bundle/scripts/gen_index.js +++ b/scripts/gen_index.js
diff --git a/bundle/scripts/install.js b/scripts/install.js
index db9dadbc..db9dadbc 100644 --- a/bundle/scripts/install.js +++ b/scripts/install.js
diff --git a/bundle/scripts/rights.js b/scripts/rights.js
index c363b0c5..c363b0c5 100644 --- a/bundle/scripts/rights.js +++ b/scripts/rights.js
diff --git a/bundle/scripts/update_schemas.js b/scripts/update_schemas.js
index a018120b..a018120b 100644 --- a/bundle/scripts/update_schemas.js +++ b/scripts/update_schemas.js
diff --git a/bundle/scripts/utils.js b/scripts/utils.js
index f4b1ad7f..f4b1ad7f 100644 --- a/bundle/scripts/utils.js +++ b/scripts/utils.js