Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
37cecbb4
Commit
37cecbb4
authored
May 24, 2016
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make: add want- helper, also need phpunit soon
(cherry picked from commit
3ecf0b8a
)
parent
f0dcac17
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
Makefile
Makefile
+10
-5
No files found.
Makefile
View file @
37cecbb4
...
...
@@ -157,7 +157,13 @@ CORE_DEPENDS?= apinger \
wol
\
zip
manifest
:
force
want-git
:
force
@
${
PKG
}
info git
>
/dev/null
want-pear-PHP_CodeSniffer
:
force
@
${
PKG
}
info pear-PHP_CodeSniffer
>
/dev/null
manifest
:
want-git
@
echo
"name:
\"
${
CORE_NAME
}
\"
"
@
echo
"version:
\"
${
CORE_VERSION
}
\"
"
@
echo
"origin:
\"
${
CORE_ORIGIN
}
\"
"
...
...
@@ -224,7 +230,6 @@ package: force
echo
">>> Missing required file(s). Please run 'make package-keywords'"
>
&2
;
\
exit
1
;
\
fi
@
${
PKG
}
info git
>
/dev/null
@
rm
-rf
${
WRKSRC
}
${
PKGDIR
}
@
${
MAKE
}
DESTDIR
=
${
WRKSRC
}
FLAVOUR
=
${
FLAVOUR
}
install
@
${
MAKE
}
DESTDIR
=
${
WRKSRC
}
scripts
...
...
@@ -260,7 +265,7 @@ sweep: force
find
${
.CURDIR
}
/scripts
-type
f
-print0
|
\
xargs
-0
-n1
scripts/cleanfile
style
:
force
style
:
want-pear-PHP_CodeSniffer
@
(
phpcs
--tab-width
=
4
--standard
=
PSR2
${
.CURDIR
}
/src/opnsense/mvc
\
||
true
)
>
${
.CURDIR
}
/.style.out
@
echo
-n
"Total number of style warnings: "
...
...
@@ -270,7 +275,7 @@ style: force
@
cat
${
.CURDIR
}
/.style.out
@
rm
${
.CURDIR
}
/.style.out
stylefix
:
force
stylefix
:
want-pear-PHP_CodeSniffer
phpcbf
--standard
=
PSR2
${
.CURDIR
}
/src/opnsense/mvc
||
true
setup
:
force
...
...
@@ -280,7 +285,7 @@ health: force
# check test script output and advertise a failure...
[
"
`
${
.CURDIR
}
/src/etc/rc.php_test_run
`
"
==
"FCGI-PASSED PASSED"
]
clean
:
clean
:
want-git
${
GIT
}
reset
--hard
HEAD
&&
${
GIT
}
clean
-xdqf
.
.PHONY
:
force
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment