mirror of
https://github.com/Ellpeck/TinyLifeExampleMod.git
synced 2024-11-22 12:03:28 +01:00
11 lines
No EOL
298 B
Bash
11 lines
No EOL
298 B
Bash
#!/bin/bash
|
|
# move to the script directory
|
|
cd "$(dirname "$0")"
|
|
# build the mod
|
|
dotnet build || exit
|
|
# zip the mod
|
|
cd ./bin/Debug/net6.0
|
|
file=$(find *.dll -print)
|
|
dest=${file%????}.zip
|
|
zip -FSr ../$dest * --exclude 'ref/*' --exclude '*.pdb' --exclude '*.deps.json'
|
|
echo Published to bin/Debug/$dest |