mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-08 18:08:07 -06:00
chore: Cleanup scripts
This commit is contained in:
@@ -1,24 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
set -Eeuo pipefail
|
|
||||||
|
|
||||||
__script_dir=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
|
|
||||||
|
|
||||||
readonly __script_dir
|
|
||||||
|
|
||||||
pushd "$__script_dir/../"
|
|
||||||
|
|
||||||
pushd packages/paperless_api
|
|
||||||
$$flutter$$/bin/flutter packages pub get
|
|
||||||
$$flutter$$/bin/dart run build_runner build --delete-conflicting-outputs
|
|
||||||
popd
|
|
||||||
|
|
||||||
pushd packages/mock_server
|
|
||||||
$$flutter$$/bin/flutter packages pub get
|
|
||||||
popd
|
|
||||||
|
|
||||||
$$flutter$$/bin/flutter packages pub get
|
|
||||||
$$flutter$$/bin/flutter gen-l10n
|
|
||||||
$$flutter$$/bin/dart run build_runner build --delete-conflicting-outputs
|
|
||||||
|
|
||||||
popd
|
|
||||||
|
|
||||||
@@ -4,10 +4,9 @@ set -Eeuo pipefail
|
|||||||
__script_dir=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
|
__script_dir=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
|
||||||
readonly __script_dir
|
readonly __script_dir
|
||||||
|
|
||||||
|
cd "$__script_dir/../"
|
||||||
echo "Updating source language..."
|
echo "Updating source language..."
|
||||||
crowdin download sources --identity=../crowdin_credentials.yml --config ../crowdin.yml --preserve-hierarchy
|
crowdin download sources --identity=crowdin_credentials.yml --preserve-hierarchy
|
||||||
echo "Updating translations..."
|
echo "Updating translations..."
|
||||||
crowdin download --identity=../crowdin_credentials.yml --config ../crowdin.yml
|
crowdin download --identity=crowdin_credentials.yml
|
||||||
pushd "$__script_dir/../"
|
|
||||||
flutter gen-l10n
|
flutter gen-l10n
|
||||||
popd
|
|
||||||
Reference in New Issue
Block a user