Commit d5813b76 authored by Franco Fichtner's avatar Franco Fichtner

scripts: upper case for framework directories

(cherry picked from commit c9e40130)
parent ab4270c0
...@@ -40,7 +40,7 @@ want-${WANT}: force ...@@ -40,7 +40,7 @@ want-${WANT}: force
.endfor .endfor
.if ${GIT} != true .if ${GIT} != true
CORE_COMMIT!= ${.CURDIR}/scripts/version.sh CORE_COMMIT!= ${.CURDIR}/Scripts/version.sh
CORE_VERSION= ${CORE_COMMIT:C/-.*$//1} CORE_VERSION= ${CORE_COMMIT:C/-.*$//1}
CORE_HASH= ${CORE_COMMIT:C/^.*-//1} CORE_HASH= ${CORE_COMMIT:C/^.*-//1}
.endif .endif
...@@ -272,9 +272,9 @@ upgrade: upgrade-check package ...@@ -272,9 +272,9 @@ upgrade: upgrade-check package
@/usr/local/etc/rc.restart_webgui @/usr/local/etc/rc.restart_webgui
lint: force lint: force
find ${.CURDIR}/src ${.CURDIR}/scripts \ find ${.CURDIR}/src ${.CURDIR}/Scripts \
-name "*.sh" -type f -print0 | xargs -0 -n1 sh -n -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 -name "*.xml" -type f -print0 | xargs -0 -n1 xmllint --noout
find ${.CURDIR}/src \ find ${.CURDIR}/src \
! -name "*.xml" ! -name "*.xml.sample" ! -name "*.eot" \ ! -name "*.xml" ! -name "*.xml.sample" ! -name "*.eot" \
...@@ -293,11 +293,11 @@ sweep: force ...@@ -293,11 +293,11 @@ sweep: force
fi fi
find ${.CURDIR}/src ! -name "*.min.*" ! -name "*.svg" \ find ${.CURDIR}/src ! -name "*.min.*" ! -name "*.svg" \
! -name "*.ser" -type f -print0 | \ ! -name "*.ser" -type f -print0 | \
xargs -0 -n1 scripts/cleanfile xargs -0 -n1 ${.CURDIR}/Scripts/cleanfile
find ${.CURDIR}/scripts -type f -print0 | \ find ${.CURDIR}/Scripts -type f -print0 | \
xargs -0 -n1 scripts/cleanfile xargs -0 -n1 ${.CURDIR}/Scripts/cleanfile
find ${.CURDIR} -type f -depth 1 -print0 | \ find ${.CURDIR} -type f -depth 1 -print0 | \
xargs -0 -n1 scripts/cleanfile xargs -0 -n1 ${.CURDIR}/Scripts/cleanfile
style: want-pear-PHP_CodeSniffer style: want-pear-PHP_CodeSniffer
@(phpcs --standard=ruleset.xml ${.CURDIR}/src/opnsense/mvc \ @(phpcs --standard=ruleset.xml ${.CURDIR}/src/opnsense/mvc \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment