This repository generates a Docker image providing sm-builder, which is a build/package tool to compile SourceMod plugins.
Thanks to this image, you don't have anymore to:
- Have the Dockerfile in your project.
- Have a
smbuild
file in your project. - Have a
.gitmodules
file in your project. - Build the image yourself.
Just go in your SourceMod plugin's root folder, and run the following:
docker run --rm -v $(pwd):/src -v $(pwd)/out:/out drarig29/sm-builder:latest
You will find the artefacts in the ./out
folder.
A common plugin structure is:
scripting/
include/
* get5.inc
* your_plugin.sp
* LICENSE
* README.md
-
Docker 😎
-
If you don't have a
smbuild
file:- You need to have a single
.sp
file in thescripting/
folder. - You need to have a
LICENSE
and aREADME.md
.
- You need to have a single
- To @splewis for his amazing build tool.
- To @Apfelwurm for his work on #572 and #587 to create the original version of the Dockerfile for get5.