From c75e491d7661456835ff5d5c088da525343f8c57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C8=98tefan=20Talpalaru?= Date: Thu, 1 Aug 2019 02:44:27 +0200 Subject: [PATCH] more renaming --- Makefile | 8 ++++---- wrappers/README.md | 8 ++++---- wrappers/{wrapper.c => wrapper_example.c} | 0 wrappers/{wrapper.go => wrapper_example.go} | 0 4 files changed, 8 insertions(+), 8 deletions(-) rename wrappers/{wrapper.c => wrapper_example.c} (100%) rename wrappers/{wrapper.go => wrapper_example.go} (100%) diff --git a/Makefile b/Makefile index 48d8f6767..96bbd95bd 100644 --- a/Makefile +++ b/Makefile @@ -204,10 +204,10 @@ libnimbus.so: | build deps nat-libs ln -s $@.0 build/$@ wrappers: | build deps nat-libs libnimbus.so go-checks - echo -e $(BUILD_MSG) "build/C_wrapper_test" && \ - $(CC) wrappers/wrapper.c -Wl,-rpath,'$$ORIGIN' -Lbuild -lnimbus -lm -g -o build/C_wrapper_test - echo -e $(BUILD_MSG) "build/go_wrapper_test" && \ - go build -o build/go_wrapper_test wrappers/wrapper.go + echo -e $(BUILD_MSG) "build/C_wrapper_example" && \ + $(CC) wrappers/wrapper_example.c -Wl,-rpath,'$$ORIGIN' -Lbuild -lnimbus -lm -g -o build/C_wrapper_example + echo -e $(BUILD_MSG) "build/go_wrapper_example" && \ + go build -o build/go_wrapper_example wrappers/wrapper_example.go # https://bitbucket.org/nimcontrib/ntags/ - currently fails with "out of memory" ntags: diff --git a/wrappers/README.md b/wrappers/README.md index f61116262..807a79987 100644 --- a/wrappers/README.md +++ b/wrappers/README.md @@ -6,16 +6,16 @@ https://github.com/status-im/status-console-client/ It serves mainly as a proof-of-concept for now - there are several unresolved issues surrounding threading, inter-language communication, callbacks etc. -To build the wrappers and the test programs, run from the top level directory: +To build the wrappers and the example programs, run from the top level directory: ```bash make wrappers ``` -Now you can run the test programs: +Now you can run the example programs: ```bash -build/C_wrapper_test -build/go_wrapper_test +build/C_wrapper_example +build/go_wrapper_example ``` diff --git a/wrappers/wrapper.c b/wrappers/wrapper_example.c similarity index 100% rename from wrappers/wrapper.c rename to wrappers/wrapper_example.c diff --git a/wrappers/wrapper.go b/wrappers/wrapper_example.go similarity index 100% rename from wrappers/wrapper.go rename to wrappers/wrapper_example.go