From 319879f23ed4abe2bd856de4bfc4d7e53670838a Mon Sep 17 00:00:00 2001 From: Daniel <790119+DanTheMan827@users.noreply.github.com> Date: Tue, 10 Jun 2025 10:36:38 -0500 Subject: [PATCH 1/2] Add qpm scripts --- qpm.json | 25 ++++++++++++++++++++++++- qpm.shared.json | 25 ++++++++++++++++++++++++- 2 files changed, 48 insertions(+), 2 deletions(-) diff --git a/qpm.json b/qpm.json index 7f79779..69cc7b3 100644 --- a/qpm.json +++ b/qpm.json @@ -17,7 +17,30 @@ } }, "workspace": { - "scripts": {}, + "scripts": { + "build": [ + "pwsh build.ps1 $0:?" + ], + "bump": [ + "pwsh ./scripts/bumpQPMdeps.ps1 $0:?" + ], + "clean": [ + "qpm s build -- -clean $0:?" + ], + "copy": [ + "pwsh copy.ps1 $0:?" + ], + "prepare-debugger": [ + "pwsh PrepareEnvForDebugger.ps1 $0:?" + ], + "qmod": [ + "qpm s build", + "pwsh buildQMOD.ps1 MultiplayerCore" + ], + "stack": [ + "pwsh ndk-stack.ps1 $0:?" + ] + }, "ndk": "^27.2.12479018", "qmodIncludeDirs": [], "qmodIncludeFiles": [], diff --git a/qpm.shared.json b/qpm.shared.json index ec7b93f..018bc46 100644 --- a/qpm.shared.json +++ b/qpm.shared.json @@ -18,7 +18,30 @@ } }, "workspace": { - "scripts": {}, + "scripts": { + "build": [ + "pwsh build.ps1 $0:?" + ], + "bump": [ + "pwsh ./scripts/bumpQPMdeps.ps1 $0:?" + ], + "clean": [ + "qpm s build -- -clean $0:?" + ], + "copy": [ + "pwsh copy.ps1 $0:?" + ], + "prepare-debugger": [ + "pwsh PrepareEnvForDebugger.ps1 $0:?" + ], + "qmod": [ + "qpm s build", + "pwsh buildQMOD.ps1 MultiplayerCore" + ], + "stack": [ + "pwsh ndk-stack.ps1 $0:?" + ] + }, "ndk": "^27.2.12479018", "qmodIncludeDirs": [], "qmodIncludeFiles": [], From 7c34f9551e63714b826ae044e1a30b4ff9114947 Mon Sep 17 00:00:00 2001 From: Daniel <790119+DanTheMan827@users.noreply.github.com> Date: Tue, 10 Jun 2025 10:37:53 -0500 Subject: [PATCH 2/2] Update qpm.json to support `qpm qmod zip` --- qpm.json | 7 +++++-- qpm.shared.json | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/qpm.json b/qpm.json index 69cc7b3..5bf2c5b 100644 --- a/qpm.json +++ b/qpm.json @@ -42,9 +42,12 @@ ] }, "ndk": "^27.2.12479018", - "qmodIncludeDirs": [], + "qmodIncludeDirs": [ + "extern/libs", + "build" + ], "qmodIncludeFiles": [], - "qmodOutput": null + "qmodOutput": "MultiplayerCore.qmod" }, "dependencies": [ { diff --git a/qpm.shared.json b/qpm.shared.json index 018bc46..5bc782e 100644 --- a/qpm.shared.json +++ b/qpm.shared.json @@ -43,9 +43,12 @@ ] }, "ndk": "^27.2.12479018", - "qmodIncludeDirs": [], + "qmodIncludeDirs": [ + "extern/libs", + "build" + ], "qmodIncludeFiles": [], - "qmodOutput": null + "qmodOutput": "MultiplayerCore.qmod" }, "dependencies": [ {