From 33677c4b2bf80df96e1780599c70b8ffb1beb26b Mon Sep 17 00:00:00 2001 From: Benjamin Sergeant Date: Mon, 8 Oct 2018 14:37:27 -0700 Subject: [PATCH] move examples around --- examples/{ => chat}/broadcast-server.js | 0 examples/{ => chat}/build.sh | 8 ++++---- examples/{ => chat}/cmd_websocket_chat.cpp | 2 +- examples/{ => chat}/nlohmann/json.hpp | 0 examples/{ => chat}/package.json | 0 5 files changed, 5 insertions(+), 5 deletions(-) rename examples/{ => chat}/broadcast-server.js (100%) rename examples/{ => chat}/build.sh (59%) rename examples/{ => chat}/cmd_websocket_chat.cpp (99%) rename examples/{ => chat}/nlohmann/json.hpp (100%) rename examples/{ => chat}/package.json (100%) diff --git a/examples/broadcast-server.js b/examples/chat/broadcast-server.js similarity index 100% rename from examples/broadcast-server.js rename to examples/chat/broadcast-server.js diff --git a/examples/build.sh b/examples/chat/build.sh similarity index 59% rename from examples/build.sh rename to examples/chat/build.sh index 5abed6d2..a6d24207 100644 --- a/examples/build.sh +++ b/examples/chat/build.sh @@ -5,10 +5,10 @@ # clang++ --std=c++11 --stdlib=libc++ \ - ../ixwebsocket/IXSocket.cpp \ - ../ixwebsocket/IXWebSocketTransport.cpp \ - ../ixwebsocket/IXSocketAppleSSL.cpp \ - ../ixwebsocket/IXWebSocket.cpp \ + ../../ixwebsocket/IXSocket.cpp \ + ../../ixwebsocket/IXWebSocketTransport.cpp \ + ../../ixwebsocket/IXSocketAppleSSL.cpp \ + ../../ixwebsocket/IXWebSocket.cpp \ cmd_websocket_chat.cpp \ -o cmd_websocket_chat \ -framework Security \ diff --git a/examples/cmd_websocket_chat.cpp b/examples/chat/cmd_websocket_chat.cpp similarity index 99% rename from examples/cmd_websocket_chat.cpp rename to examples/chat/cmd_websocket_chat.cpp index 098f4999..6af2da23 100644 --- a/examples/cmd_websocket_chat.cpp +++ b/examples/chat/cmd_websocket_chat.cpp @@ -12,7 +12,7 @@ #include #include #include -#include "../ixwebsocket/IXWebSocket.h" +#include "../../ixwebsocket/IXWebSocket.h" #include "nlohmann/json.hpp" diff --git a/examples/nlohmann/json.hpp b/examples/chat/nlohmann/json.hpp similarity index 100% rename from examples/nlohmann/json.hpp rename to examples/chat/nlohmann/json.hpp diff --git a/examples/package.json b/examples/chat/package.json similarity index 100% rename from examples/package.json rename to examples/chat/package.json