From c9e401309412c78a30a596bcdf70d8ea5bf0d6bc Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Tue, 27 Sep 2016 01:56:15 +0200 Subject: [PATCH] scripts: upper case for framework directories --- Makefile | 14 +++++++------- {scripts => Scripts}/cleanfile | 0 .../development/crawl_legacy_deps.py | 0 .../development/inspect_function_usage.py | 0 {scripts => Scripts}/development/lib/__init__.py | 0 .../development/lib/legacy_deps.py | 0 {scripts => Scripts}/version.sh | 0 7 files changed, 7 insertions(+), 7 deletions(-) rename {scripts => Scripts}/cleanfile (100%) rename {scripts => Scripts}/development/crawl_legacy_deps.py (100%) rename {scripts => Scripts}/development/inspect_function_usage.py (100%) rename {scripts => Scripts}/development/lib/__init__.py (100%) rename {scripts => Scripts}/development/lib/legacy_deps.py (100%) rename {scripts => Scripts}/version.sh (100%) diff --git a/Makefile b/Makefile index 4d80e76db..db43b69af 100644 --- a/Makefile +++ b/Makefile @@ -36,7 +36,7 @@ want-${WANT}: force .endfor .if ${GIT} != true -CORE_COMMIT!= ${.CURDIR}/scripts/version.sh +CORE_COMMIT!= ${.CURDIR}/Scripts/version.sh CORE_VERSION= ${CORE_COMMIT:C/-.*$//1} CORE_HASH= ${CORE_COMMIT:C/^.*-//1} .endif @@ -267,9 +267,9 @@ upgrade: plist-check upgrade-check package @${LOCALBASE}/etc/rc.restart_webgui lint: force - find ${.CURDIR}/src ${.CURDIR}/scripts \ + find ${.CURDIR}/src ${.CURDIR}/Scripts \ -name "*.sh" -type f -print0 | xargs -0 -n1 sh -n - find ${.CURDIR}/src ${.CURDIR}/scripts \ + find ${.CURDIR}/src ${.CURDIR}/Scripts \ -name "*.xml" -type f -print0 | xargs -0 -n1 xmllint --noout find ${.CURDIR}/src \ ! -name "*.xml" ! -name "*.xml.sample" ! -name "*.eot" \ @@ -288,11 +288,11 @@ sweep: force fi find ${.CURDIR}/src ! -name "*.min.*" ! -name "*.svg" \ ! -name "*.ser" -type f -print0 | \ - xargs -0 -n1 scripts/cleanfile - find ${.CURDIR}/scripts -type f -print0 | \ - xargs -0 -n1 scripts/cleanfile + xargs -0 -n1 ${.CURDIR}/Scripts/cleanfile + find ${.CURDIR}/Scripts -type f -print0 | \ + xargs -0 -n1 ${.CURDIR}/Scripts/cleanfile find ${.CURDIR} -type f -depth 1 -print0 | \ - xargs -0 -n1 scripts/cleanfile + xargs -0 -n1 ${.CURDIR}/Scripts/cleanfile style: want-pear-PHP_CodeSniffer @(phpcs --standard=ruleset.xml ${.CURDIR}/src/opnsense \ diff --git a/scripts/cleanfile b/Scripts/cleanfile similarity index 100% rename from scripts/cleanfile rename to Scripts/cleanfile diff --git a/scripts/development/crawl_legacy_deps.py b/Scripts/development/crawl_legacy_deps.py similarity index 100% rename from scripts/development/crawl_legacy_deps.py rename to Scripts/development/crawl_legacy_deps.py diff --git a/scripts/development/inspect_function_usage.py b/Scripts/development/inspect_function_usage.py similarity index 100% rename from scripts/development/inspect_function_usage.py rename to Scripts/development/inspect_function_usage.py diff --git a/scripts/development/lib/__init__.py b/Scripts/development/lib/__init__.py similarity index 100% rename from scripts/development/lib/__init__.py rename to Scripts/development/lib/__init__.py diff --git a/scripts/development/lib/legacy_deps.py b/Scripts/development/lib/legacy_deps.py similarity index 100% rename from scripts/development/lib/legacy_deps.py rename to Scripts/development/lib/legacy_deps.py diff --git a/scripts/version.sh b/Scripts/version.sh similarity index 100% rename from scripts/version.sh rename to Scripts/version.sh