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
smbuildfile in your project. - Have a
.gitmodulesfile 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:latestYou 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
smbuildfile:- You need to have a single
.spfile in thescripting/folder. - You need to have a
LICENSEand 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.