Bladeren bron

prepare mono repo transformation

pull/342/head
Guillaume Vincent 6 jaren geleden
bovenliggende
commit
1b07692882
2 gewijzigde bestanden met toevoegingen van 14 en 7 verwijderingen
  1. +13
    -6
      scripts/dev.sh
  2. +1
    -1
      webextension

+ 13
- 6
scripts/dev.sh Bestand weergeven

@@ -9,14 +9,21 @@ if [ ! -f README.md ]; then
fi

function dev {
echo
git remote add "$1_origin" "git@github.com:lesspass/$1.git"
git remote -v
git fetch "$1_origin"
git merge -s ours --no-commit --allow-unrelated-histories "$1_origin/master"
git rm --cached "$1"
sed -i '/$1/d' .gitmodules
rm -rf "$1_origin/.git"
git add "$1"
git commit -m "[Mono repo] Add submodule $1"
git remote rm "$1_origin"

}

submodules="backend cli cordova core cozy desktop frontend move nginx openssl pure render-password snap webextension"
#submodules="cli cordova core cozy desktop frontend move pure webextension"
for submodule in ${submodules}
do
pushd ${submodule}
dev
popd
done
dev ${submodule}
done

+ 1
- 1
webextension

@@ -1 +1 @@
Subproject commit b30aa8983f4a82e1447ca70af11fcaeb2650debf
Subproject commit 186b1a6c593343014675c98ab8e7da7c45a62728

Laden…
Annuleren
Opslaan