chore: remove unused scripts

environments/review-docs-pre-c-tgkotj/deployments/15787
jo 2022-11-25 12:49:52 +01:00 zatwierdzone przez JuniorJPDJ
rodzic d47fef0806
commit 27a4a95294
5 zmienionych plików z 16 dodań i 36 usunięć

Wyświetl plik

@ -3,8 +3,14 @@
set -eux
cd "$(dirname "$0")/.." # change into base directory
# shellcheck disable=SC1091
source scripts/utils.sh
npm_binaries() {
if command -v yarn > /dev/null; then
yarn bin
else
npm bin
fi
}
locales=$(jq -r '.[].code' src/locales.json | grep -v 'en_US')
mkdir -p src/translations

Wyświetl plik

@ -3,8 +3,14 @@
set -eux
cd "$(dirname "$0")/.." # change into base directory
# shellcheck disable=SC1091
source scripts/utils.sh
npm_binaries() {
if command -v yarn > /dev/null; then
yarn bin
else
npm bin
fi
}
locales=$(jq -r '.[].code' src/locales.json)
locales_dir="locales"

Wyświetl plik

@ -1,16 +0,0 @@
#!/usr/bin/env bash
set -eux
integration_branch="translations-integration"
git remote add weblate https://translate.funkwhale.audio/git/funkwhale/front/ || echo "remote already exists"
git fetch weblate
git checkout weblate/develop
git reset --hard weblate/develop
git checkout -b "$integration_branch" || git checkout "$integration_branch"
git reset --hard weblate/develop
git push -f origin "$integration_branch"
echo "Branch created on pushed on origin/$integration_branch"
echo "Open a merge request by visiting https://dev.funkwhale.audio/funkwhale/funkwhale/merge_requests/new?merge_request%5Bsource_branch%5D=$integration_branch"

Wyświetl plik

@ -1,11 +0,0 @@
#!/usr/bin/env bash
set -eux
npm_binaries() {
if command -v yarn > /dev/null; then
yarn bin
else
npm bin
fi
}

Wyświetl plik

@ -1,5 +0,0 @@
#!/usr/bin/env bash
outdated=$(pip list -o)
echo -n "$outdated"
exit "$(echo -n "$outdated" | wc -l)"