Automatically create builds for your LOVE game, using C# and .NET Core
- Download the latest build on the Releases page
- You may also build the app from source if you prefer.
- Edit the configuration file
- Run the application
- Work on your LOVE project
- Any changes in your source directory will trigger new builds (only Windows and the LOVE zip format are supported for now)
The following values are configurable by editing the MakeLove.App.config
file in a text editor:
sourcePath
- Absolute path where your project's source and asset files are stored, which will be monitored by MakeLove for changes. All the contents of the source directory will be included in the builds.buildPath
- Absolute path where the build artifacts will be placed by MakeLovebuildName
- The filename to use for the builds created, without the file extension. The files will be created as<buildName>.love
or<buildName>.exe
.loveLibPath
- Absolute path where the LOVE SDK is installed on the machine, so the needed dependencies can be copied during build creation.useBuildNumber
- Set this to true, so MakeLove can append auto-incremented build numbers on the created files, e.g.<buildName>001.love
.buildNumber
- The starting build number to use whenuseBuildNumber
is true.buildTargets
- Comma-separated values of platform targets to create builds for. As of 0.1.0, onlywindows
is supported.
- Install the .NET Core SDK, and your IDE of choice:
- Open the
.sln
file and build depending on your chosen IDE.
If you prefer to build using dotnet-cli
:
- Open a terminal and navigate to the repository root directory.
- Run
dotnet restore
to restore the NuGet packages. - Run
dotnet build MakeLove.sln
to create a runnable build of the application. This will create .DLL files. The application can be run by navigating to the build output directory (usuallybin
) and runningdotnet run MakeLove.App.dll
. - Run
dotnet publish
to create artifacts to run the application standalone. Make sure to pass in the parameters depending on which platform(s) you want the build to run on. For more information, see here
- Please feel free to submit pull requests for bug fixes or additional features. Some feature ideas:
- Creating builds for other target platforms that are supported by LOVE for distribution
- Mac OS
- Linux
- Android
- iOS
- Web (via love.js)
- Creating builds for other target platforms that are supported by LOVE for distribution