osb/scripts/ci/linux/assemble.sh

48 lines
1.2 KiB
Bash
Raw Normal View History

2024-03-08 09:09:27 +00:00
#!/bin/sh -e
mkdir client_distribution
mkdir client_distribution/assets
2024-03-17 11:54:28 +00:00
mkdir client_distribution/assets/user
2024-03-08 09:09:27 +00:00
./dist/asset_packer -c scripts/packing.config assets/opensb client_distribution/assets/opensb.pak
mkdir client_distribution/mods
touch client_distribution/mods/mods_go_here
mkdir client_distribution/linux
cp \
dist/starbound \
dist/btree_repacker \
dist/asset_packer \
dist/asset_unpacker \
dist/dump_versioned_json \
dist/make_versioned_json \
2024-03-17 11:59:56 +00:00
lib/linux/libdiscord_game_sdk.so \
lib/linux/libsteam_api.so \
2024-03-08 09:09:27 +00:00
scripts/ci/linux/sbinit.config \
scripts/ci/linux/run-client.sh \
2024-06-24 08:35:35 +00:00
scripts/steam_appid.txt \
2024-03-08 09:09:27 +00:00
client_distribution/linux/
mkdir server_distribution
mkdir server_distribution/assets
mkdir server_distribution/mods
touch server_distribution/mods/mods_go_here
./dist/asset_packer -c scripts/packing.config -s assets/opensb server_distribution/assets/opensb.pak
mkdir server_distribution/linux
cp \
dist/starbound_server \
dist/btree_repacker \
scripts/ci/linux/run-server.sh \
scripts/ci/linux/sbinit.config \
2024-06-24 08:35:35 +00:00
scripts/steam_appid.txt \
2024-03-08 09:09:27 +00:00
server_distribution/linux/
2024-03-17 11:30:29 +00:00
tar -cvf dist.tar dist
tar -cvf client.tar client_distribution
tar -cvf server.tar server_distribution