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________"