mirror of
https://github.com/yuzu-emu/Command-fix.git
synced 2024-12-22 23:55:29 +00:00
14 lines
317 B
Bash
Executable file
14 lines
317 B
Bash
Executable file
#!/bin/bash -e
|
|
|
|
yarn
|
|
|
|
[ -d "dist" ] && rm -rf dist
|
|
|
|
yarn run build
|
|
|
|
echo "[+] Installing non-bundle-able packages ..."
|
|
DISCORD_JS="$(grep discord.js package.json | sed 's|,||')"
|
|
cd "dist"
|
|
echo "{\"name\": \"citra-discord-bot\",\"license\": \"GPL-2.0+\",\"dependencies\": {${DISCORD_JS}}}" > package.json
|
|
yarn install
|