libwebsockets/contrib/abi/lws-abi-update.sh
Roger A. Light c6496b2510 Script and config to make tracking ABI/API changes easy.
AG: enhance the script a bit and fix the make instructions
2016-04-19 06:48:51 +08:00

18 lines
241 B
Bash
Executable File

#!/bin/sh
if [ ! -z "$1" ] ; then
OUT=$1
else
OUT="/tmp/lws-abi-track-htdocs"
fi
D=`dirname $0`
if [ ! -z "$D" ] ; then
D=$D/
fi
J=$D"libwebsockets.json"
abi-monitor -get -build-new $J
abi-tracker -build $J
abi-tracker -deploy $OUT $J