-
Notifications
You must be signed in to change notification settings - Fork 2
Using Scripts
Scripts are small files designed to perform specific functions in the project. They are located in the src/Scripts
directory, which is organized into subdirectories. Each subdirectory corresponds to tools used to execute these scripts. Currently, the following subdirectories are available:
-
PS
: contains scripts designed to be executed using PowerShell.
Below, you will find details about all the scripts available in the project.
- PowerShell: publish_all.ps1.
Before using this script, ensure that the following prerequisites are met:
- Have the .NET 8 SDK installed on your machine;
- Install the NetBeauty2 tool globally as a .NET Core tool.
Run the script with the following command in PowerShell:
./publish_all.ps1
The publish_all.ps1
script is designed to automate the process of publishing the game's source code to multiple supported platforms. Its main features include:
- Compiling the project using the dotnet CLI for all supported platforms;
- Organizing the resulting build directories using the NetBeauty tool, ensuring a more structured and user-friendly experience;
- Publishing the project's required assets in a systematic and organized manner.
The script's execution time may vary depending on factors such as the project's complexity and the resources available on your machine.
Stardust Sandbox • (c) 2024 Davi "Starciad" Fernandes | Home • Itch.io Store Page • Stable Releases (GitHub) • Contributor Guide