From 7cb3501540a8396c992b1d5184c891dfe96322e0 Mon Sep 17 00:00:00 2001 From: jo Date: Tue, 7 Sep 2021 22:56:35 +0200 Subject: [PATCH] Rename scripts/ to tools/ --- .github/workflows/tools.yml | 2 +- install | 2 +- {scripts => tools}/Makefile | 2 +- {scripts => tools}/README.md | 2 +- {scripts => tools}/__init__.py | 0 {scripts => tools}/packages.py | 0 {scripts => tools}/packages_test.py | 0 {scripts => tools}/requirements-dev.txt | 0 8 files changed, 4 insertions(+), 4 deletions(-) rename {scripts => tools}/Makefile (93%) rename {scripts => tools}/README.md (85%) rename {scripts => tools}/__init__.py (100%) rename {scripts => tools}/packages.py (100%) rename {scripts => tools}/packages_test.py (100%) rename {scripts => tools}/requirements-dev.txt (100%) diff --git a/.github/workflows/tools.yml b/.github/workflows/tools.yml index 44f1f97a3..a91064143 100644 --- a/.github/workflows/tools.yml +++ b/.github/workflows/tools.yml @@ -41,7 +41,7 @@ jobs: - name: Generate packages list run: | - scripts/packages.py --dev --format line ${{ matrix.release }} \ + tools/packages.py --dev --format line ${{ matrix.release }} \ python_apps/airtime_analyzer \ python_apps/pypo \ > packages.list diff --git a/install b/install index 9661a7a7e..4fc6391ba 100755 --- a/install +++ b/install @@ -764,7 +764,7 @@ if [ "$ignore_dependencies" = "f" ]; then set -e package_list=$( - "${SCRIPT_DIR}/scripts/packages.py" --format=line "${code}" "${packages_files[@]}" || + "${SCRIPT_DIR}/tools/packages.py" --format=line "${code}" "${packages_files[@]}" || (echo "ERROR: could not generate packages list" >&2 && exit 1) ) set +e diff --git a/scripts/Makefile b/tools/Makefile similarity index 93% rename from scripts/Makefile rename to tools/Makefile index bc226fd86..4c32ea86f 100644 --- a/scripts/Makefile +++ b/tools/Makefile @@ -12,7 +12,7 @@ venv: pip install -r requirements-dev.txt lint: venv - pylint scripts + pylint tools test: venv pytest -n ${CPU_CORES} --color=yes -v . diff --git a/scripts/README.md b/tools/README.md similarity index 85% rename from scripts/README.md rename to tools/README.md index 2b553b0fd..bbceacedf 100644 --- a/scripts/README.md +++ b/tools/README.md @@ -1,3 +1,3 @@ -# Scripts +# Tools This folder contains scripts/tools to manage the project. diff --git a/scripts/__init__.py b/tools/__init__.py similarity index 100% rename from scripts/__init__.py rename to tools/__init__.py diff --git a/scripts/packages.py b/tools/packages.py similarity index 100% rename from scripts/packages.py rename to tools/packages.py diff --git a/scripts/packages_test.py b/tools/packages_test.py similarity index 100% rename from scripts/packages_test.py rename to tools/packages_test.py diff --git a/scripts/requirements-dev.txt b/tools/requirements-dev.txt similarity index 100% rename from scripts/requirements-dev.txt rename to tools/requirements-dev.txt