summaryrefslogtreecommitdiff
path: root/scripts/copyAssets.js
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/copyAssets.js')
-rw-r--r--scripts/copyAssets.js25
1 files changed, 0 insertions, 25 deletions
diff --git a/scripts/copyAssets.js b/scripts/copyAssets.js
deleted file mode 100644
index 3c425baa..00000000
--- a/scripts/copyAssets.js
+++ /dev/null
@@ -1,25 +0,0 @@
-const fs = require("fs");
-const path = require("path");
-const mkdirp = require("mkdirp");
-
-const baseAssetPath = {
- src: path.resolve("resources/assets"),
- target: path.resolve("public/assets")
-};
-
-const emojiPath = {
- src: baseAssetPath.src + "/emojis",
- target: baseAssetPath.target + "/emojis"
-};
-
-mkdirp.sync(emojiPath.target);
-
-const emojis = fs.readdirSync(emojiPath.src);
-
-emojis.forEach(e => {
- fs.copyFile(`${emojiPath.src}/${e}`, `${emojiPath.target}/${e}`, e => {
- if (e) {
- console.error(e);
- }
- });
-});