213 lines
6.2 KiB
YAML
213 lines
6.2 KiB
YAML
# The SenseGlove Unreal Engine Marketplace Packager configuration file.
|
|
# This file is in YAML format.
|
|
# Although, the SenseGlove Unreal Engine Marketplace Packager is able to load
|
|
# configurations from various file formats by detecting their file extensions.
|
|
# Currently, the following configuration formats are supported:
|
|
# - JSON
|
|
# - TOML
|
|
# - YAML
|
|
# - HCL
|
|
# - INI
|
|
# - envfile
|
|
# - Java properties config files
|
|
|
|
|
|
Archive:
|
|
|
|
# Levels range from 1 (BestSpeed) to 9 (BestCompression); higher levels
|
|
# typically run slower but compress more. Level 0 (NoCompression) does not
|
|
# attempt any compression; it only adds the necessary DEFLATE framing. Level
|
|
# -1 (DefaultCompression) uses the default compression level. Level -2
|
|
# (HuffmanOnly) will use Huffman compression only, giving a very fast
|
|
# compression for all types of input, but sacrificing considerable compression
|
|
# efficiency.
|
|
CompressionLevel: 9
|
|
|
|
Directory:
|
|
Linux: /tmp/SenseGlove-Unreal/Archive
|
|
Windows: "%TEMP%\\SenseGlove-Unreal\\Archive"
|
|
|
|
# Brnach will be replaced with the Brnach name corresponding to the engine
|
|
# version, e.g. 5.1; and, version will be extracted from the latest tag, e.g.
|
|
# v1.0.4; producing SenseGlove-Unreal-5.1-v1.0.4.zip.
|
|
NameTemplate: "SenseGlove-Unreal-{BRANCH}-{VERSION}.zip"
|
|
|
|
|
|
Deploy:
|
|
|
|
Repository: https://{USERNAME}:{PASSWORD}@dev.azure.com/SenseGlove/SenseGlove-Unreal/_git/SenseGlove-Unreal
|
|
|
|
UsernameEnvVar: SGUM_PACKAGER_REPOSITORY_USERNAME
|
|
|
|
PasswordEnvVar: SGUM_PACKAGER_REPOSITORY_PASSWORD
|
|
|
|
Branches:
|
|
- "5.4"
|
|
- "5.3"
|
|
- "5.2"
|
|
|
|
Exclusions:
|
|
- .git
|
|
- .clang-format
|
|
- .editorconfig
|
|
- .gitattributes
|
|
- .gitignore
|
|
- Documentation
|
|
- Handbook
|
|
- Packager
|
|
- README.md
|
|
|
|
|
|
Git:
|
|
|
|
Executable:
|
|
Linux: /usr/bin/git
|
|
Windows: "%PROGRAMFILES%\\Git\\bin\\git.exe"
|
|
|
|
CloneArguments:
|
|
- "--depth"
|
|
- "1"
|
|
- "--recurse-submodules"
|
|
- "--shallow-submodules"
|
|
- "--jobs"
|
|
- "16"
|
|
|
|
CloneDirectory:
|
|
Linux: /tmp/SenseGlove-Unreal/Repo
|
|
Windows: "%TEMP%\\SenseGlove-Unreal\\Repo"
|
|
|
|
|
|
GoogleDrive:
|
|
|
|
LocalAuthServerPort: 11111
|
|
|
|
# Follow the instructions below in order to generate the credentials file:
|
|
#
|
|
# Enable the AP
|
|
# In the Google Cloud console, enable the Google Drive API.
|
|
# https://console.cloud.google.com/flows/enableapi?apiid=drive.googleapis.com
|
|
#
|
|
# Authorize credentials for a web application
|
|
# 1. In the Google Cloud console, go to Menu menu > APIs & Services > Credentials.
|
|
# https://console.cloud.google.com/apis/credentials
|
|
# 2. Click Create Credentials > OAuth client ID.
|
|
# 3. Click Application type > Desktop app.
|
|
# 4. In the Name field, type a name for the credential. This name is only shown in the Google Cloud console.
|
|
# 5. Click Create. The OAuth client created screen appears, showing your new Client ID and Client secret.
|
|
# 6. Click OK. The newly created credential appears under OAuth 2.0 Client IDs.
|
|
# 7. Save the downloaded JSON file as credentials.json, and move the file to your desired directory.
|
|
CredentialsFile:
|
|
Linux: ~/.config/SenseGlove/sgum-packager/credentials.json
|
|
Windows: "%LOCALAPPDATA%\\SenseGlove\\sgum-packager\\credentials.json"
|
|
|
|
# This will be auto-generated on the first run
|
|
TokenFile:
|
|
Linux: ~/.config/SenseGlove/sgum-packager/token.json
|
|
Windows: "%LOCALAPPDATA%\\SenseGlove\\sgum-packager\\token.json"
|
|
|
|
FolderNameTemplate: SenseGlove-Unreal-{VERSION}
|
|
|
|
|
|
Handbook:
|
|
|
|
Distribute: true
|
|
|
|
Build:
|
|
MakeTarget: pack
|
|
SourceDirectory: Handbook
|
|
OutputDirectory: Documentation
|
|
OutputPackedDirectory: pack
|
|
EpubFile: the-senseglove-unreal-engine-handbook.epub
|
|
HtmlFile: the-senseglove-unreal-engine-handbook.zip
|
|
PdfFile: the-senseglove-unreal-engine-handbook.pdf
|
|
|
|
Pack:
|
|
Directory: Documentation
|
|
Epub: false
|
|
Html: true
|
|
Pdf: true
|
|
|
|
|
|
# Logging configurations
|
|
Logging:
|
|
|
|
# The file to write logs to. Supports absolute path or relative paths
|
|
# containing environment variables as well.Backup log files will be retained
|
|
# in the same directory. It's optional and if left empty, no logs will be
|
|
# preserved and logs only go to screen instead of both screen and log files.
|
|
Filename:
|
|
Linux: ~/.cache/SenseGlove/sgum-packager/sgum-packager.log
|
|
Windows: "%LOCALAPPDATA%\\SenseGlove\\sgum-packager\\sgum-packager.log"
|
|
|
|
# The maximum allowed size in MBs for the log file before it gets rotated.
|
|
# It defaults to 100 megabytes if not specified.
|
|
MaxSize: 100
|
|
|
|
# The maximum number of days to retain old log files based on the timestamp
|
|
# encoded in their filename. Note that a day is defined as 24 hours and may
|
|
# not exactly correspond to calendar days due to daylight savings, leap
|
|
# seconds, etc. If not specified, the default is not to remove old log files
|
|
# based on age.
|
|
MaxAge: 30
|
|
|
|
# Maximum number of old log files to retain. If not specified, the default is
|
|
# to retain all old log files (though MaxAge may still cause them to get
|
|
# deleted).
|
|
MaxBackups: 10
|
|
|
|
# Determines if the time used for formatting the timestamps in backup files is
|
|
# the computer's local time. The default is to use UTC time, if not specified.
|
|
LocalTime: true
|
|
|
|
# Determines whether the rotated log files should be compressed using the gzip
|
|
# compression algorithm, or not. The default is not to perform compression, in
|
|
# case it's not specified.
|
|
Compress: true
|
|
|
|
|
|
Make:
|
|
|
|
Executable:
|
|
Linux: /usr/bin/make
|
|
Windows: "%PROGRAMFILES%\\Git\\mingw64\\bin\\make.exe"
|
|
|
|
|
|
Rocket:
|
|
|
|
RunUAT: true
|
|
|
|
UPluginFile: SenseGlove.uplugin
|
|
|
|
PackageDirectory: "%TEMP%\\SenseGlove-Unreal\\Rocket"
|
|
|
|
EnginePaths:
|
|
- "5.4": "C:\\OPT\\UE_5.4"
|
|
- "5.3": "C:\\OPT\\UE_5.3"
|
|
- "5.2": "C:\\OPT\\UE_5.2"
|
|
|
|
NDKPaths:
|
|
- "5.4": "%LOCALAPPDATA%\\Android\\Sdk\\ndk\\25.1.8937393"
|
|
- "5.3": "%LOCALAPPDATA%\\Android\\Sdk\\ndk\\25.1.8937393"
|
|
- "5.2": "%LOCALAPPDATA%\\Android\\Sdk\\ndk\\25.1.8937393"
|
|
|
|
|
|
Rsync:
|
|
|
|
Executable:
|
|
Linux: /usr/bin/rsync
|
|
Windows: "%PROGRAMFILES%\\cwrsync\\bin\\rsync.exe"
|
|
|
|
StageArguments:
|
|
- "--checksum"
|
|
- "--delete-after"
|
|
- "--ignore-errors"
|
|
- "--ignore-times"
|
|
- "--links"
|
|
- "--perms"
|
|
- "--recursive"
|
|
- "--verbose"
|
|
|
|
DestinationDirectory:
|
|
Linux: /tmp/SenseGlove-Unreal/Stage
|
|
Windows: "%TEMP%\\SenseGlove-Unreal\\Stage"
|