Sign inSign up

drarig29/sm-builder

By drarig29

•Updated almost 5 years ago

Generates a Docker image which provides a ready-to-use sm-builder.

Image
1

949

drarig29/sm-builder repository overview

⁠sm-builder

Docker Image Version (latest by date) Docker Image workflow

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

⁠Requirements

  • Docker 😎

  • If you don't have a smbuild file:

    • You need to have a single .sp file in the scripting/ folder.
    • You need to have a LICENSE and a README.md.

⁠Thanks 💗

Tag summary

Content type

Image

Digest

Size

279.9 MB

Last updated

almost 5 years ago

docker pull drarig29/sm-builder