1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-10 04:32:35 +01:00

🐛 fix release

This commit is contained in:
Flam3rboy 2021-08-16 23:16:16 +02:00
parent 8671459ccb
commit 41624bce6b

View File

@ -14,7 +14,7 @@ jobs:
os: [windows, macos, ubuntu] os: [windows, macos, ubuntu]
include: include:
- os: windows - os: windows
build: npx caxa -i .. -m 'This_may_take_a_while_to_run_the_first_time_please_wait...' --output 'fosscord-server-windows.exe' -- cd bundle && del /F /S /Q node_modules/@fosscord && mklink /D node_modules/@fosscord/api ../api && mklink /D node_modules/@fosscord/cdn ../cdn && mklink /D node_modules/@fosscord/gateway ../gateway && mklink /D node_modules/@fosscord/util ../util && '{{caxa}}/node_modules/.bin/node' '{{caxa}}/dist/start.js' build: npx caxa -i .. -m 'This_may_take_a_while_to_run_the_first_time_please_wait...' --output 'fosscord-server-windows.exe' -- cd bundle && del /F /S /Q node_modules/@fosscord && mklink /D node_modules/@fosscord/api ../api && mklink /D node_modules/@fosscord/cdn ../cdn && mklink /D node_modules/@fosscord/gateway ../gateway && mklink /D node_modules/@fosscord/util ../util && {{caxa}}/node_modules/.bin/node '{{caxa}}/dist/start.js'
artifact: fosscord-server-windows.exe artifact: fosscord-server-windows.exe
- os: macos - os: macos
build: npx caxa -i .. -m 'This may take a while to run the first time, please wait...' --output 'fosscord-server.app' -- cd bundle && ln -sf node_modules/@fosscord/api ../api && ln -sf node_modules/@fosscord/cdn ../cdn && ln -sf node_modules/@fosscord/gateway ../gateway && ln -sf node_modules/@fosscord/util ../util && '{{caxa}}/node_modules/.bin/node' '{{caxa}}/bundle/dist/start.js' && tar -czf 'fosscord-server-macos.app.tgz' 'fosscord-server.app' build: npx caxa -i .. -m 'This may take a while to run the first time, please wait...' --output 'fosscord-server.app' -- cd bundle && ln -sf node_modules/@fosscord/api ../api && ln -sf node_modules/@fosscord/cdn ../cdn && ln -sf node_modules/@fosscord/gateway ../gateway && ln -sf node_modules/@fosscord/util ../util && '{{caxa}}/node_modules/.bin/node' '{{caxa}}/bundle/dist/start.js' && tar -czf 'fosscord-server-macos.app.tgz' 'fosscord-server.app'