This commit is contained in:
Tony Bark 2025-04-30 07:28:39 -04:00
parent 6a0e75d614
commit ebfca0fbb9
3 changed files with 31 additions and 4 deletions

1
.gitignore vendored
View file

@ -546,3 +546,4 @@ FodyWeavers.xsd
.idea/**
*.s2pk
s2pk.toml
dist/**

26
Makefile Normal file
View file

@ -0,0 +1,26 @@
# Makefile for building and packaging the Sims 2 .s2pk CLI tool
APP_NAME = s2pk
CONFIGURATION = Release
RUNTIME_LINUX = linux-x64
RUNTIME_MAC = osx-x64
OUTPUT_DIR = ./dist
.PHONY: all clean build-linux build-mac package-linux package-mac
all: build-linux build-mac package-linux package-mac
clean:
rm -rf bin obj $(OUTPUT_DIR)
build-linux:
dotnet publish -c $(CONFIGURATION) -r $(RUNTIME_LINUX) --self-contained true /p:PublishSingleFile=true -o $(OUTPUT_DIR)/$(APP_NAME)-linux
build-mac:
dotnet publish -c $(CONFIGURATION) -r $(RUNTIME_MAC) --self-contained true /p:PublishSingleFile=true -o $(OUTPUT_DIR)/$(APP_NAME)-mac
package-linux:
tar -czvf $(OUTPUT_DIR)/$(APP_NAME)-linux.tar.gz -C $(OUTPUT_DIR)/$(APP_NAME)-linux .
package-mac:
tar -czvf $(OUTPUT_DIR)/$(APP_NAME)-mac.tar.gz -C $(OUTPUT_DIR)/$(APP_NAME)-mac .

View file

@ -34,7 +34,7 @@ s2pk unpack -p ./output.s2pk -d "%USERPROFILE%\Documents\EA Games\The Sims 2\Dow
## 🗓️ Update Cycle
| Type | Frequency | Notes |
| ------------ | ---------------- | ---------------------------------------- |
| ---------------- | ---------------- | ---------------------------------------- |
| Minor Update | Every 36 months | Small enhancements, non-breaking changes |
| Patch Update | As needed | Bug fixes, security updates |
| Major Update[^1] | As needed | Framework upgrades, major refactors |