mirror of
https://github.com/tonytins/s2pk.git
synced 2025-05-19 15:33:17 -04:00
Makefile
This commit is contained in:
parent
6a0e75d614
commit
ebfca0fbb9
3 changed files with 31 additions and 4 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -546,3 +546,4 @@ FodyWeavers.xsd
|
||||||
.idea/**
|
.idea/**
|
||||||
*.s2pk
|
*.s2pk
|
||||||
s2pk.toml
|
s2pk.toml
|
||||||
|
dist/**
|
||||||
|
|
26
Makefile
Normal file
26
Makefile
Normal 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 .
|
|
@ -33,10 +33,10 @@ s2pk unpack -p ./output.s2pk -d "%USERPROFILE%\Documents\EA Games\The Sims 2\Dow
|
||||||
|
|
||||||
## 🗓️ Update Cycle
|
## 🗓️ Update Cycle
|
||||||
|
|
||||||
| Type | Frequency | Notes |
|
| Type | Frequency | Notes |
|
||||||
| ------------ | ---------------- | ---------------------------------------- |
|
| ---------------- | ---------------- | ---------------------------------------- |
|
||||||
| Minor Update | Every 3–6 months | Small enhancements, non-breaking changes |
|
| Minor Update | Every 3–6 months | Small enhancements, non-breaking changes |
|
||||||
| Patch Update | As needed | Bug fixes, security updates |
|
| Patch Update | As needed | Bug fixes, security updates |
|
||||||
| Major Update[^1] | As needed | Framework upgrades, major refactors |
|
| Major Update[^1] | As needed | Framework upgrades, major refactors |
|
||||||
|
|
||||||
- Reserve months: June (Mid-Year Chill) & December (End-Year Freeze)
|
- Reserve months: June (Mid-Year Chill) & December (End-Year Freeze)
|
||||||
|
|
Loading…
Add table
Reference in a new issue