2024-03-08 09:09:27 +00:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
2024-05-26 18:04:49 +00:00
|
|
|
mkdir -p client_distribution
|
|
|
|
mkdir -p client_distribution/assets
|
|
|
|
mkdir -p 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
|
|
|
|
|
2024-05-26 18:04:49 +00:00
|
|
|
mkdir -p client_distribution/mods
|
2024-03-08 09:09:27 +00:00
|
|
|
touch client_distribution/mods/mods_go_here
|
|
|
|
|
2024-05-26 18:04:49 +00:00
|
|
|
mkdir -p client_distribution/linux
|
2024-03-08 09:09:27 +00:00
|
|
|
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 \
|
|
|
|
client_distribution/linux/
|
|
|
|
|
2024-05-26 18:04:49 +00:00
|
|
|
mkdir -p server_distribution
|
|
|
|
mkdir -p server_distribution/assets
|
2024-03-08 09:09:27 +00:00
|
|
|
|
2024-05-26 18:04:49 +00:00
|
|
|
mkdir -p server_distribution/mods
|
2024-03-08 09:09:27 +00:00
|
|
|
touch server_distribution/mods/mods_go_here
|
|
|
|
|
|
|
|
./dist/asset_packer -c scripts/packing.config -s assets/opensb server_distribution/assets/opensb.pak
|
|
|
|
|
2024-05-26 18:04:49 +00:00
|
|
|
mkdir -p server_distribution/linux
|
2024-03-08 09:09:27 +00:00
|
|
|
|
|
|
|
cp \
|
|
|
|
dist/starbound_server \
|
|
|
|
dist/btree_repacker \
|
|
|
|
scripts/ci/linux/run-server.sh \
|
|
|
|
scripts/ci/linux/sbinit.config \
|
|
|
|
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
|