Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.07 KB

File metadata and controls

29 lines (22 loc) · 1.07 KB

gmod-common-module-base

This is the module structure I use for my projects.

Project Creation

  1. First, you want to set all project names in these files:
  • premake5.lua
  • .github/workflow/compile.yml
  • development/module/premake5.lua
  1. Then you initialize all submodules by opening Git Bash and run git submodule update --init --recursive

  2. At last, you now can generate the project files by executing the build.bat that's inside the development/module folder.
    Now you can find the generated .sln file inside the development/module/projects/windows/vs2022 folder.

Build Workflow

The workflow Branch contains a workflow that allows you to build your project with GitHub actions very easily.
If you have any requests or issues with the workflow, feel free to open an issue for it.

Example of the workflow:

jobs:
  build:
    uses: RaphaelIT7/gmod-common-module-base/.github/workflows/compile.yml@workflow
    with:
      PROJECT_NAME: "template"
      BUILD_64x: "true"