cicd tests

This commit is contained in:
Olof Hagsand 2020-09-07 16:15:12 +00:00
parent 1db969d3a7
commit afe64cbd5e
4 changed files with 27 additions and 35 deletions

View file

@ -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