From 6e04c88308886f01140df1474630dfe38e284e4e Mon Sep 17 00:00:00 2001 From: dingedi Date: Thu, 12 Jan 2023 14:21:17 +0100 Subject: [PATCH] mover scripts in a scripts dir --- compile_locales.py => scripts/compile_locales.py | 0 install_models.py => scripts/install_models.py | 0 run.bat => scripts/run.bat | 6 +++--- run.sh => scripts/run.sh | 0 suggestions-to-jsonl.py => scripts/suggestions-to-jsonl.py | 0 update_locales.py => scripts/update_locales.py | 0 6 files changed, 3 insertions(+), 3 deletions(-) rename compile_locales.py => scripts/compile_locales.py (100%) rename install_models.py => scripts/install_models.py (100%) rename run.bat => scripts/run.bat (89%) rename run.sh => scripts/run.sh (100%) rename suggestions-to-jsonl.py => scripts/suggestions-to-jsonl.py (100%) rename update_locales.py => scripts/update_locales.py (100%) diff --git a/compile_locales.py b/scripts/compile_locales.py similarity index 100% rename from compile_locales.py rename to scripts/compile_locales.py diff --git a/install_models.py b/scripts/install_models.py similarity index 100% rename from install_models.py rename to scripts/install_models.py diff --git a/run.bat b/scripts/run.bat similarity index 89% rename from run.bat rename to scripts/run.bat index d83c78b..989a212 100644 --- a/run.bat +++ b/scripts/run.bat @@ -11,7 +11,7 @@ IF NOT "%1"=="" ( SHIFT ) IF "%1"=="--help" ( - echo Usage: run.bat [--port N] + echo Usage: scripts/run.bat [--port N] echo: echo Run LibreTranslate using docker. echo: @@ -33,9 +33,9 @@ docker run -ti --rm -p %LT_PORT%:%LT_PORT% %DB_VOLUME% -v lt-local:/home/libretr GOTO :done :install_docker -ECHO Cannot find docker! Go to https://docs.docker.com/desktop/install/windows-install/ and install docker before running this script (pressing Enter will open the page) +ECHO Cannot find docker! Go to https://docs.docker.com/desktop/install/windows-install/ and install docker before running this script (pressing Enter will open the page) pause start "" https://docs.docker.com/desktop/install/windows-install/ GOTO :done -:done \ No newline at end of file +:done diff --git a/run.sh b/scripts/run.sh similarity index 100% rename from run.sh rename to scripts/run.sh diff --git a/suggestions-to-jsonl.py b/scripts/suggestions-to-jsonl.py similarity index 100% rename from suggestions-to-jsonl.py rename to scripts/suggestions-to-jsonl.py diff --git a/update_locales.py b/scripts/update_locales.py similarity index 100% rename from update_locales.py rename to scripts/update_locales.py