cicd tests
This commit is contained in:
parent
1db969d3a7
commit
afe64cbd5e
4 changed files with 27 additions and 35 deletions
|
|
@ -1,8 +1,16 @@
|
|||
#!/bin/sh
|
||||
# A top-level configurer for clixon
|
||||
set -eux
|
||||
if [ $(uname) = "FreeBSD" ]; then
|
||||
./configure --with-cligen=/usr/local --with-wwwuser=www --enable-optyangs
|
||||
else
|
||||
./configure --enable-optyangs
|
||||
|
||||
if [ $# -ne 1 ]; then
|
||||
echo "usage: $0 <restconf>"
|
||||
echo " where <restconf> is fcgi or evhtp"
|
||||
exit -1
|
||||
fi
|
||||
restconf=$1
|
||||
|
||||
if [ $(uname) = "FreeBSD" ]; then
|
||||
./configure --with-cligen=/usr/local --with-wwwuser=www --enable-optyangs --with-restconf=$restconf
|
||||
else
|
||||
./configure --enable-optyangs --with-restconf=$restconf
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue