mirror of
https://github.com/OpenFOAM/ThirdParty-6.git
synced 2025-12-08 06:57:43 +00:00
ParaView-5.0.1: Added the source-tree to ThirdParty-dev and patched as described in the README file
Resolves bug-report http://bugs.openfoam.org/view.php?id=2098
This commit is contained in:
28
ParaView-5.0.1/Utilities/SetupForDevelopment.sh
Executable file
28
ParaView-5.0.1/Utilities/SetupForDevelopment.sh
Executable file
@ -0,0 +1,28 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Make sure we are inside the repository.
|
||||
cd "${BASH_SOURCE%/*}/.." &&
|
||||
Utilities/GitSetup/setup-user && echo &&
|
||||
Utilities/GitSetup/setup-hooks && echo &&
|
||||
Utilities/Scripts/SetupGitAliases.sh && echo &&
|
||||
(Utilities/GitSetup/setup-upstream ||
|
||||
echo 'Failed to setup origin. Run this again to retry.') && echo &&
|
||||
(Utilities/GitSetup/setup-gitlab ||
|
||||
echo 'Failed to setup GitLab. Run this again to retry.') && echo &&
|
||||
Utilities/Scripts/SetupExternalData.sh && echo &&
|
||||
Utilities/GitSetup/tips
|
||||
|
||||
echo "Initializing and updating git submodules..."
|
||||
git submodule update --init --recursive
|
||||
|
||||
# Rebase master by default
|
||||
git config rebase.stat true
|
||||
git config branch.master.rebase true
|
||||
|
||||
# Disable Gerrit hook explicitly so the commit-msg hook will
|
||||
# not complain even if some gerrit remotes are still configured.
|
||||
git config hooks.GerritId false
|
||||
|
||||
# Record the version of this setup so Scripts/pre-commit can check it.
|
||||
SetupForDevelopment_VERSION=2
|
||||
git config hooks.SetupForDevelopment ${SetupForDevelopment_VERSION}
|
||||
Reference in New Issue
Block a user