mycroforge/MycroForge.CLI/scripts/publish-linux.sh
2024-05-04 15:03:12 +02:00

7 lines
250 B
Bash

#!/usr/bin/bash
# Make sure to run this script form the MyrcoForge.CLI directory with sudo!
dotnet publish --self-contained -r linux-x64
sudo cp bin/Release/net8.0/linux-x64 /usr/share/m4g
sudo ln -s /usr/share/m4g/MycroForge.CLI /usr/bin/local/m4g