mirror of
https://github.com/transmission/transmission.git
synced 2026-02-15 07:26:49 +00:00
Recommended Project Settings (#6591)
* Recommended Project Settings * adding script inputs and outputs * fix path to evconfig-private.h * disabling sandboxing for retrieving the git commit hash * Also Enable Parallelization in Command Line Builds Using '-target'. * remove superfluous "per-target" settings * fix settings.h explicit file type. * fix path to miniupnp * ensuring objectVersion = 51 in code_style.
This commit is contained in:
@@ -65,6 +65,16 @@ if ! find_cfiles -exec "${clang_format_exe}" $clang_format_args '{}' '+'; then
|
||||
exitcode=1
|
||||
fi
|
||||
|
||||
# format Xcodeproj
|
||||
if ! grep -q 'objectVersion = 51' Transmission.xcodeproj/project.pbxproj; then
|
||||
echo 'project.pbxproj needs objectVersion = 51 for compatibility with Xcode 11'
|
||||
exitcode=1
|
||||
fi
|
||||
if ! grep -q 'BuildIndependentTargetsInParallel = YES' Transmission.xcodeproj/project.pbxproj; then
|
||||
echo 'please keep BuildIndependentTargetsInParallel in project.pbxproj'
|
||||
exitcode=1
|
||||
fi
|
||||
|
||||
# format JS
|
||||
# but only if js has changed
|
||||
git diff --cached --quiet -- "web/**" && exit $exitcode
|
||||
|
||||
Reference in New Issue
Block a user