From 79f754e6ac76a3b5b690e2789927f0d3011e66e5 Mon Sep 17 00:00:00 2001 From: Pierre Krieger Date: Wed, 4 Jul 2018 12:06:53 +0200 Subject: [PATCH] Move the C/C++ example to another directory (#9032) --- .gitignore | 2 +- .../cpp}/CMakeLists.txt | 0 .../cpp}/main.cpp | 0 test.sh | 8 ++++---- 4 files changed, 5 insertions(+), 5 deletions(-) rename {parity-clib-example => parity-clib-examples/cpp}/CMakeLists.txt (100%) rename {parity-clib-example => parity-clib-examples/cpp}/main.cpp (100%) diff --git a/.gitignore b/.gitignore index b22c1b842..53c0e8ac6 100644 --- a/.gitignore +++ b/.gitignore @@ -38,7 +38,7 @@ node_modules # Build artifacts out/ -parity-clib-example/build/ +parity-clib-examples/cpp/build/ .vscode rls/ diff --git a/parity-clib-example/CMakeLists.txt b/parity-clib-examples/cpp/CMakeLists.txt similarity index 100% rename from parity-clib-example/CMakeLists.txt rename to parity-clib-examples/cpp/CMakeLists.txt diff --git a/parity-clib-example/main.cpp b/parity-clib-examples/cpp/main.cpp similarity index 100% rename from parity-clib-example/main.cpp rename to parity-clib-examples/cpp/main.cpp diff --git a/test.sh b/test.sh index 9e273c749..82e05d954 100755 --- a/test.sh +++ b/test.sh @@ -42,9 +42,9 @@ echo "________Validate chainspecs________" fi -# Running the C example -echo "________Running the C example________" -cd parity-clib-example && \ +# Running the C++ example +echo "________Running the C++ example________" +cd parity-clib-examples/cpp && \ mkdir -p build && \ cd build && \ cmake .. && \ @@ -52,7 +52,7 @@ cd parity-clib-example && \ ./parity-example && \ cd .. && \ rm -rf build && \ - cd .. + cd ../.. # Running tests echo "________Running Parity Full Test Suite________"