mirror of
https://github.com/Ellpeck/TinyLifeExampleMod.git
synced 2024-06-01 04:13:37 +02:00
11 lines
283 B
Bash
11 lines
283 B
Bash
#!/bin/bash
|
|
# move to the script directory
|
|
cd "$(dirname "$0")"
|
|
# build the mod
|
|
dotnet build
|
|
# zip the mod
|
|
cd ./bin/Debug/net5.0
|
|
file=$(find *.dll -printf %f)
|
|
dest=${file::-4}.zip
|
|
zip -r ../$dest * --exclude ref --exclude *.pdb --exclude *.deps.json
|
|
echo Published to bin/Debug/$dest |