mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Add LAN_discovery to the list of apidsl-generated files.
So it gets regenerated when the .api.h file changes.
This commit is contained in:
parent
3e58f3cd4d
commit
15d64221f1
|
@ -35,6 +35,7 @@ apidsl_curl() {
|
||||||
}
|
}
|
||||||
|
|
||||||
# Check if apidsl generated sources are up to date.
|
# Check if apidsl generated sources are up to date.
|
||||||
|
$APIDSL toxcore/LAN_discovery.api.h > toxcore/LAN_discovery.h &
|
||||||
$APIDSL toxcore/crypto_core.api.h > toxcore/crypto_core.h &
|
$APIDSL toxcore/crypto_core.api.h > toxcore/crypto_core.h &
|
||||||
$APIDSL toxcore/ping.api.h > toxcore/ping.h &
|
$APIDSL toxcore/ping.api.h > toxcore/ping.h &
|
||||||
$APIDSL toxcore/ping_array.api.h > toxcore/ping_array.h &
|
$APIDSL toxcore/ping_array.api.h > toxcore/ping_array.h &
|
||||||
|
@ -42,7 +43,7 @@ $APIDSL toxcore/tox.api.h > toxcore/tox.h &
|
||||||
$APIDSL toxav/toxav.api.h > toxav/toxav.h &
|
$APIDSL toxav/toxav.api.h > toxav/toxav.h &
|
||||||
$APIDSL toxencryptsave/toxencryptsave.api.h > toxencryptsave/toxencryptsave.h &
|
$APIDSL toxencryptsave/toxencryptsave.api.h > toxencryptsave/toxencryptsave.h &
|
||||||
|
|
||||||
wait; wait; wait; wait; wait; wait
|
wait; wait; wait; wait; wait; wait; wait
|
||||||
|
|
||||||
if grep '<unresolved>' */*.h; then
|
if grep '<unresolved>' */*.h; then
|
||||||
echo "error: some apidsl references were unresolved"
|
echo "error: some apidsl references were unresolved"
|
||||||
|
|
|
@ -70,4 +70,4 @@ bool ip_is_local(IP ip);
|
||||||
*/
|
*/
|
||||||
bool ip_is_lan(IP ip);
|
bool ip_is_lan(IP ip);
|
||||||
|
|
||||||
#endif
|
#endif // C_TOXCORE_TOXCORE_LAN_DISCOVERY_H
|
||||||
|
|
Loading…
Reference in New Issue
Block a user