documentation/API update

This commit is contained in:
Joseph Henry
2016-07-14 08:40:40 -07:00
parent 1487ac304c
commit f805b0d285
25 changed files with 375 additions and 203 deletions

View File

@@ -108,13 +108,22 @@ docker_demo: one linux_shared_lib
# in order to verify it's working properly
cd $(INT)/docker/docker_demo; docker build --tag="docker_demo_monitor" -f monitor_dockerfile .
# Builds all docker test images
docker_images:
./tests/docker/build.sh
# Runs docker container tests
docker_test:
./tests/docker/test.sh
# Checks the results of the docker tests
docker_check_test:
./tests/docker/check.sh
# Check for the presence of built frameworks/bundles/libaries
check:
./check.sh $(BUILD)/lwip/liblwip.so
./check.sh $(BUILD)/linux_shared_lib/libztintercept.so
./check.sh $(BUILD)/
./check.sh $(BUILD)/android_jni_lib/arm64-v8a/libZeroTierJNI.so
./check.sh $(BUILD)/android_jni_lib/armeabi/libZeroTierJNI.so
./check.sh $(BUILD)/android_jni_lib/armeabi-v7a/libZeroTierJNI.so
@@ -138,8 +147,9 @@ tests: $(TEST_OBJDIR) $(TEST_TARGETS)
mkdir -p $(BUILD)/tests;
clean:
-rm -rf zerotier-one zerotier-cli zerotier-idtool
-rm -rf $(BUILD)/*
-rm -rf zerotier-cli zerotier-idtool
-find . -type f \( -name 'zerotier-one' -o -name 'zerotier-sdk-service' \) -delete
-find . -type f \( -name '*.o' -o -name '*.so' -o -name '*.o.d' -o -name '*.out' -o -name '*.log' \) -delete
# Remove junk generated by Android builds
-cd $(INT)/android/android_jni_lib/proj; ./gradlew clean