Skip to content

Commit 0da0304

Browse files
authored
Merge pull request #39 from robojumper/future-proof
Some future-proofing
2 parents da647e0 + adf7f69 commit 0da0304

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ Open a command line prompt (cmd or powershell, does not matter) in the `[modRoot
3030
your working tree is clean and run the following command:
3131

3232
```
33-
git subtree add --prefix .scripts/X2ModBuildCommon https://github.com/X2CommunityCore/X2ModBuildCommon main --squash
33+
git subtree add --prefix .scripts/X2ModBuildCommon https://github.com/X2CommunityCore/X2ModBuildCommon v1.0.0 --squash
3434
```
3535

3636
### Your mod does not use git
37-
Download the source code of this repository from GitHub. Unzip it and place so that `build_commom.ps1` resides at
38-
`[modRoot]\.scripts\X2ModBuildCommon\build_common.ps1`.
37+
Download the source code of this repository from the latest release on the [Releases page](https://github.com/X2CommunityCore/X2ModBuildCommon/releases/latest).
38+
Unzip it and place so that `build_common.ps1` resides at `[modRoot]\.scripts\X2ModBuildCommon\build_common.ps1`.
3939

4040
## Ignoring the `BuildCache`
4141
The build system will create a `[modRoot]\BuildCache` folder which is used for various file-based operations (such
@@ -172,7 +172,7 @@ If you don't use git, simply download the new version and overwrite the old file
172172
If you use git, run the same command as before, replacing `add` with `pull`:
173173

174174
```
175-
git subtree pull --prefix .scripts/X2ModBuildCommon https://github.com/X2CommunityCore/X2ModBuildCommon main --squash
175+
git subtree pull --prefix .scripts/X2ModBuildCommon https://github.com/X2CommunityCore/X2ModBuildCommon v1.0.0 --squash
176176
```
177177

178178
# Configuration options

clean.ps1

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ $folders = @(
2525
"$srcDirectory\BuildCache",
2626
"$sdkPath\Development\Src\*",
2727
"$sdkPath\XComGame\Mods\*",
28-
"$gamePath\XComGame\Mods\$modName",
29-
"$sdkPath\XComGame\Published"
28+
"$gamePath\XComGame\Mods\$modName"
3029
)
3130

3231
$files | ForEach-Object {

0 commit comments

Comments
 (0)