mirror of
https://github.com/bringout/oca-ocb-core.git
synced 2026-04-20 08:32:03 +02:00
vanilla 17.0
This commit is contained in:
parent
d72e748793
commit
a9bcec8e91
1986 changed files with 1613876 additions and 568976 deletions
|
|
@ -2,15 +2,19 @@
|
|||
community=$(cd -- "$(dirname "$0")" &> /dev/null && cd ../../.. && pwd)
|
||||
|
||||
disableInDir () {
|
||||
cd "$1"
|
||||
cd "$1" || exit
|
||||
git config --unset core.hooksPath
|
||||
rm .eslintignore
|
||||
rm .prettierignore
|
||||
rm .eslintrc.json
|
||||
rm .prettierrc.json
|
||||
rm jsconfig.json
|
||||
rm package.json
|
||||
rm package-lock.json
|
||||
rm -r node_modules
|
||||
|
||||
# to support old versions
|
||||
rm -f .prettierignore
|
||||
rm -r .prettierrc.json
|
||||
|
||||
cd - &> /dev/null
|
||||
}
|
||||
|
||||
|
|
@ -19,7 +23,7 @@ if [[ $willingToDeleteToolingInEnterprise != "n" ]]
|
|||
then
|
||||
read -p "What is the relative path from community to enterprise ? (../enterprise)" pathToEnterprise
|
||||
pathToEnterprise=${pathToEnterprise:-../enterprise}
|
||||
pathToEnterprise=$(realpath $community/$pathToEnterprise)
|
||||
pathToEnterprise=$(realpath "$community/$pathToEnterprise")
|
||||
fi
|
||||
|
||||
disableInDir "$community"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue