chore: remove unused scripts
This commit is contained in:
parent
d47fef0806
commit
27a4a95294
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
|
@ -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
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
outdated=$(pip list -o)
|
||||
echo -n "$outdated"
|
||||
exit "$(echo -n "$outdated" | wc -l)"
|
Loading…
Reference in New Issue