mirror of https://github.com/keeweb/keeweb
34 lines
822 B
Bash
Executable File
34 lines
822 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
SCHEMA=${SCHEMA:-http}
|
|
|
|
KEEWEB_GH=git@github.com:keeweb
|
|
|
|
if [[ "$SCHEMA" == 'http' ]]; then
|
|
KEEWEB_GH=https://github.com/keeweb
|
|
fi
|
|
|
|
echo "Cloning KeeWeb ($KEEWEB_GH) into $PWD/keeweb..."
|
|
|
|
mkdir keeweb
|
|
pushd keeweb >/dev/null
|
|
|
|
git clone $KEEWEB_GH/keeweb.git -b develop keeweb
|
|
|
|
pushd keeweb >/dev/null
|
|
git worktree add ../keeweb-dist gh-pages
|
|
popd >/dev/null
|
|
|
|
git clone $KEEWEB_GH/favicon-proxy.git favicon-proxy
|
|
git clone $KEEWEB_GH/kdbxweb.git kdbxweb
|
|
git clone $KEEWEB_GH/beta.keeweb.info.git keeweb-beta
|
|
git clone $KEEWEB_GH/keeweb-site.git -b gh-pages keeweb-site
|
|
git clone $KEEWEB_GH/keeweb-plugins.git keeweb-plugins
|
|
git clone $KEEWEB_GH/keeweb-tools.git keeweb-tools
|
|
popd > /dev/null
|
|
|
|
mkdir keeweb/keys
|
|
echo kdbxweb/ > keeweb/.eslintignore
|
|
|
|
echo "Done! KeeWeb is cloned into $PWD/keeweb"
|