Skip to content

Commit

Permalink
Fixed md formatting and update docs on pushes
Browse files Browse the repository at this point in the history
  • Loading branch information
evilfactory committed Sep 26, 2024
1 parent 8df342f commit 95f4e25
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/update-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ name: Update documentation

on:
workflow_dispatch:
push:
branches: [master]
paths-ignore:
- ".github/**"

env:
CI_DEPLOY_DIR: luacs-docs/ci-deploy
Expand Down
3 changes: 3 additions & 0 deletions manual/docs/cs/setup-assembly-csharp.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ First rename the `MyModName.sln` file to the name of your mod. IE: `ExampleMod.s
Then open up the Solution file (`.sln`) from the Skeleton Project in Visual Studio. Just verify that there are not errors related to "Unable to find Reference", this means that all assemblies in `/Refs` have be found successfully.

After that, in your IDE, you will need to do the following for all `.csproj` files:

```asciidoc
- LinuxClient.csproj
- LinuxServer.csproj
Expand Down Expand Up @@ -99,11 +100,13 @@ This will give us a debug build of LuaCsForBarotrauma. A debug build gives us ac
- Important: When cloning, use the command `git clone --recurse-submodules --remote-submodules https://github.com/evilfactory/LuaCsForBarotrauma.git`. This will download the submodules automatically.

2. Open up the LuaCs Solution in your IDE based on your Operating System, one of:

```asciidoc
- WindowsSolution.sln
- MacSolution.sln
- LinuxSolution.sln
```

-- NOTE: This assumes that you are using the `WindowsSolution.sln`. For other platforms, the naming of files may be slightly different (MacXXX, LinuxXXX, where 'XXX' is either "Client" or "Server").

3. In the Project Settings for `WindowsClient` and `WindowsServer`, you want to change the `Platform Target` from `Any CPU` to `x64`. This is necessary for OpenAL code to build successfully.
Expand Down

0 comments on commit 95f4e25

Please sign in to comment.