diff options
author | Neil Alexander <neilalexander@users.noreply.github.com> | 2021-05-06 12:00:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-06 12:00:42 +0100 |
commit | 1002e87b60659291af964c6d07c3a9057a3ed9b7 (patch) | |
tree | 81ca40385ac4072826e05d46c0d0a1562f13fa4e /build/gobind-yggdrasil/build.sh | |
parent | 464b908bd0c13854b3f6b9a17467f39e0608dc08 (diff) |
Pinecone P2P demo (#1856)
* Pinecone demo
* Enable multicast, fix HTTP routing
* Fix multicast import
* Fix build
* Update Pinecone demo
* Fix the keys
* Tweaks
* Pinecone room directory support (early)
* Fix gobind-pinecone
* Add pinecone listener
* Fix public key value
* Use AuthenticatedConnect for dial
* Fix gobind-pinecone
* Stop panics
* Give fsAPI to keyserver
* Pinecone demo fixes
* Update gobind build scripts
* Account creation
* Tweaks
* Setup tweaks
* API tweaks
* API tweaks
* API tweaks
* Port mutex
* Re-enable multicast
* Add ReadCopy
* Update quic-go, fixes
* Shutdowns fixed for iOS
* Update build script
* Add WebSocket support
* Bug fixes
* Netconn context
* Fix WebSocket connectivity
* Fixes to gobind API
* Strip frameworks
* Configurability updates
* Update go.mod
* Update go.mod/go.sum
* Update go.mod/go.sum
* Update go.mod/go.sum
* Try to stay connected tto static peer
* Update gobind-pinecone
* Update go.mod/go.sum
* Test uTP+TLS
* Use HTTP/2
* Don't use HTTP/2
* Update go.mod/go.sum
* Attempt to reconnect to the static peer if it drops
* Stay connected to static peers more stickily
* Retry room directory lookups if they fail
* NewQUIC -> NewSessions
* Storage updates
* Don't return immediately when there's nothing to sync
* Updates
* Try to reconnect to static peer more
* Update go.mod/go.sum
* Require Go 1.14
* Update go.mod/go.sum
* Update go.mod/go.sum
Diffstat (limited to 'build/gobind-yggdrasil/build.sh')
-rw-r--r-- | build/gobind-yggdrasil/build.sh | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/build/gobind-yggdrasil/build.sh b/build/gobind-yggdrasil/build.sh new file mode 100644 index 00000000..a9889d8d --- /dev/null +++ b/build/gobind-yggdrasil/build.sh @@ -0,0 +1,25 @@ +#!/bin/sh + +#!/bin/sh + +TARGET="" + +while getopts "ai" option +do + case "$option" + in + a) TARGET="android";; + i) TARGET="ios";; + esac +done + +if [[ $TARGET = "" ]]; +then + echo "No target specified, specify -a or -i" + exit 1 +fi + +gomobile bind -v \ + -target $TARGET \ + -ldflags "-X github.com/yggdrasil-network/yggdrasil-go/src/version.buildName=dendrite" \ + github.com/matrix-org/dendrite/build/gobind-pinecone
\ No newline at end of file |