Added publish script
This commit is contained in:
parent
5d3d3173d9
commit
62a44cedb3
6
MycroForge.CLI/scripts/publish-linux.sh
Normal file
6
MycroForge.CLI/scripts/publish-linux.sh
Normal file
@ -0,0 +1,6 @@
|
||||
#!/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
|
Loading…
Reference in New Issue
Block a user