summaryrefslogtreecommitdiff
path: root/other
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2018-09-25 21:20:31 +0000
committeriphydf <iphydf@users.noreply.github.com>2018-10-08 22:38:26 +0000
commit15d64221f156e0c37abf766513eff7edf3417bbc (patch)
tree15d8e9a259bb8348bfb1e5347295e812fbf525c2 /other
parent3e58f3cd4d8d1d6209f5d64419d37cc213f4d4c3 (diff)
Add LAN_discovery to the list of apidsl-generated files.
So it gets regenerated when the .api.h file changes.
Diffstat (limited to 'other')
-rwxr-xr-xother/astyle/format-source3
1 files changed, 2 insertions, 1 deletions
diff --git a/other/astyle/format-source b/other/astyle/format-source
index 245fd8cd..c2238841 100755
--- a/other/astyle/format-source
+++ b/other/astyle/format-source
@@ -35,6 +35,7 @@ apidsl_curl() {
35} 35}
36 36
37# Check if apidsl generated sources are up to date. 37# Check if apidsl generated sources are up to date.
38$APIDSL toxcore/LAN_discovery.api.h > toxcore/LAN_discovery.h &
38$APIDSL toxcore/crypto_core.api.h > toxcore/crypto_core.h & 39$APIDSL toxcore/crypto_core.api.h > toxcore/crypto_core.h &
39$APIDSL toxcore/ping.api.h > toxcore/ping.h & 40$APIDSL toxcore/ping.api.h > toxcore/ping.h &
40$APIDSL toxcore/ping_array.api.h > toxcore/ping_array.h & 41$APIDSL toxcore/ping_array.api.h > toxcore/ping_array.h &
@@ -42,7 +43,7 @@ $APIDSL toxcore/tox.api.h > toxcore/tox.h &
42$APIDSL toxav/toxav.api.h > toxav/toxav.h & 43$APIDSL toxav/toxav.api.h > toxav/toxav.h &
43$APIDSL toxencryptsave/toxencryptsave.api.h > toxencryptsave/toxencryptsave.h & 44$APIDSL toxencryptsave/toxencryptsave.api.h > toxencryptsave/toxencryptsave.h &
44 45
45wait; wait; wait; wait; wait; wait 46wait; wait; wait; wait; wait; wait; wait
46 47
47if grep '<unresolved>' */*.h; then 48if grep '<unresolved>' */*.h; then
48 echo "error: some apidsl references were unresolved" 49 echo "error: some apidsl references were unresolved"