Skip to content

Commit

Permalink
update makefile and docs - forcepublish
Browse files Browse the repository at this point in the history
  • Loading branch information
Apfelwurm committed Nov 6, 2023
1 parent b1e3b69 commit e6ed36f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
10 changes: 10 additions & 0 deletions Docs/source/develop/makefile.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Publishes a debug build of Pugsharp with the locally installed .Net SDK and copi

**Group Command**

- :ref:`develop/makefile:git-pull`
- :ref:`develop/makefile:build-debug`
- :ref:`develop/makefile:copy-pugsharp`

Expand All @@ -39,6 +40,7 @@ Publishes a debug build of Pugsharp with .Net SDK inside of docker and copies it

**Group Command**

- :ref:`develop/makefile:git-pull`
- :ref:`develop/makefile:build-debug-docker`
- :ref:`develop/makefile:copy-pugsharp`

Expand Down Expand Up @@ -203,6 +205,14 @@ copies pugsharp debug build in to the local cs2 server

No Parameters

git-pull
........................
pulls the repository

**Parameters:**

No Parameters


docs-html
........................
Expand Down
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ endif
endif

## group commands
build-and-copy: build-debug copy-pugsharp
build-and-copy-docker: build-debug-docker copy-pugsharp
build-and-copy: git-pull build-debug copy-pugsharp
build-and-copy-docker: git-pull build-debug-docker copy-pugsharp
init-all: prepare-folders init-env copy-counterstrikesharp install-netruntime install-metamod start-csserver attach-csserver
clean-all: clean-csserver clean-env clean-build
start-attach: start-csserver attach-csserver
Expand Down Expand Up @@ -96,6 +96,8 @@ copy-pugsharp:
mkdir -p $(currentDir)/cs2/game/csgo/addons/counterstrikesharp/plugins/PugSharp
cp -rf $(currentDir)/PugSharp/bin/Debug/net7.0/publish/* $(currentDir)/cs2/game/csgo/addons/counterstrikesharp/plugins/PugSharp

git-pull:
git pull || true



Expand Down

0 comments on commit e6ed36f

Please sign in to comment.