Commit c9e40130 authored by Franco Fichtner's avatar Franco Fichtner

scripts: upper case for framework directories

parent 79863b19
...@@ -36,7 +36,7 @@ want-${WANT}: force ...@@ -36,7 +36,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
...@@ -267,9 +267,9 @@ upgrade: plist-check upgrade-check package ...@@ -267,9 +267,9 @@ upgrade: plist-check upgrade-check package
@${LOCALBASE}/etc/rc.restart_webgui @${LOCALBASE}/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" \
...@@ -288,11 +288,11 @@ sweep: force ...@@ -288,11 +288,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 \ @(phpcs --standard=ruleset.xml ${.CURDIR}/src/opnsense \
......
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