Commit Graph

26 Commits

Author SHA1 Message Date
Brenton Bostick
fd000261d6 fix 'No such file or directory' error
Using a wildcard in cp was breaking the command when more than 1 file is
present
```
brenton@Brentons-MacBook-Air libzt % ./build.sh android-aar "release"

<< build release aar >>

brenton@Brentons-MacBook-Air libzt % 
brenton@Brentons-MacBook-Air libzt % ./build.sh android-aar "debug"  

<< build debug aar >>

...

BUILD SUCCESSFUL in 48s
33 actionable tasks: 28 executed, 5 up-to-date
cp: target '/Users/brenton/development/github/libzt/dist/android-any-android-debug/libzt-debug.aar': No such file or directory
/Users/brenton/development/github/libzt

 - Build cache  : /Users/brenton/development/github/libzt/cache/android-any-android-debug
 - Build output : /Users/brenton/development/github/libzt/dist

0	/Users/brenton/development/github/libzt/dist/android-any-android-debug
brenton@Brentons-MacBook-Air libzt %
```
2023-07-19 15:48:53 -04:00
Joseph Henry
bfa02c5f92 Merge pull request #223 from zerotier/ldr/rust-demo
Rust demo updates
2023-06-06 09:32:40 -07:00
Lennon Day-Reynolds
787dd6efc1 new rust demo + cleanup of build 2023-06-05 19:14:12 -07:00
Brenton Bostick
0d81706227 Fix a few issues with Android build
* do not remove miniupnpc/VERSION (unsure what previous problem was)
* do not need to export PATH
* do not copy source files, allow gradle to build from source
* leave outputs from gradle (copy to PKG_OUTPUT_DIR instead of move)
2023-06-02 16:30:14 -04:00
Brenton Bostick
48adf41cc1 Move java files to com/zerotier/sockets subfolder
This adheres to standard Java style and fixes:
Package name 'com.zerotier.sockets' does not correspond to the file path ''

in Android Studio
2023-05-22 15:36:21 -04:00
Joseph Henry
cc58bceb84 Tweak build.sh 2022-06-01 15:47:57 -07:00
Joseph Henry
8c275c4899 Add Rust bindings (alpha) 2021-05-30 19:51:26 -07:00
Joseph Henry
c8e3574de7 Prevent clang-format from messing with auto-generated Python bindings 2021-05-20 09:48:19 -07:00
Joseph Henry
4e0813d167 Add address getter method to Python wrapper 2021-05-19 21:33:08 -07:00
Joseph Henry
b2c05a81a1 Re-add gradle-wrapper.jar 2021-05-19 13:55:05 -07:00
Joseph Henry
840a5159b3 Read .version file before changing into packaging directory 2021-05-18 23:44:43 -07:00
Joseph Henry
f5c9450d0c Change how build script reads version tag 2021-05-18 23:38:52 -07:00
Joseph Henry
4bad93c95b Add workaround to get tagged version in GitHub workflow script 2021-05-18 23:03:56 -07:00
Joseph Henry
0e2f5b6f1e Add ZeroTierDatagramSocket and ZeroTierServerSocket to Java wrapper 2021-05-18 22:39:48 -07:00
Joseph Henry
85b861da2f Minor adjustment to build script 2021-05-05 15:52:23 -07:00
Joseph Henry
3093a643d9 Add submodule check to build script 2021-05-05 13:53:58 -07:00
Joseph Henry
6a77f0092f Update Python bindings to 1.4.0 API (WIP) 2021-05-02 21:30:21 -07:00
Joseph Henry
6f42338f6e Update C# bindings to 1.4.0 API 2021-04-30 21:54:34 -07:00
Joseph Henry
782d221eb9 Add WIP Java language bindings 2021-04-29 19:51:07 -07:00
Joseph Henry
9ed0ee68ab Improve build parallelism in build.sh 2021-04-26 22:12:29 -07:00
Joseph Henry
565b56d290 Adjust test targets and code style enforcement in build script 2021-04-22 11:17:58 -07:00
Joseph Henry
6638f20003 Add IPv6 to C# ZeroTier.Sockets, Add C# selftest, Misc C API improvements 2021-03-26 16:33:22 -07:00
Joseph Henry
9cd5fdee7b Update C API: Add functions that simplify wrapper generation 2021-03-24 12:20:39 -07:00
Joseph Henry
b8c75c2d1b Add tests to selftest 2021-03-16 13:44:21 -07:00
Joseph Henry
c220bb7d2f Improve Central API 2021-03-14 01:01:04 -08:00
Joseph Henry
9bca3270bc Overhaul build system and documentation 2021-03-02 01:53:03 -08:00