From da4dfbdd3e860e3f953513088f3ab724fc974e6f Mon Sep 17 00:00:00 2001 From: "jazz (gitea)" Date: Sun, 8 Mar 2026 19:39:02 -0500 Subject: [PATCH] move source to src/ --- README.md | 1 + Makefile => src/Makefile | 0 src/README.md | 6 ++++++ chat.h => src/chat.h | 0 main.cc => src/main.cc | 0 5 files changed, 7 insertions(+) rename Makefile => src/Makefile (100%) create mode 100644 src/README.md rename chat.h => src/chat.h (100%) rename main.cc => src/main.cc (100%) diff --git a/README.md b/README.md index 87a912f..cd7c854 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,7 @@ ## Build ``` +cd src/ make ``` diff --git a/Makefile b/src/Makefile similarity index 100% rename from Makefile rename to src/Makefile diff --git a/src/README.md b/src/README.md new file mode 100644 index 0000000..e5d8270 --- /dev/null +++ b/src/README.md @@ -0,0 +1,6 @@ +# refactor v1 + +I'm trying to split this up into multiple pieces but that probably involves using fewer global variables and passing the +same data between the functions that use them. + +global variables will use `snake_case` and global constants will use `SCREAMING_SNAKE_CASE`. diff --git a/chat.h b/src/chat.h similarity index 100% rename from chat.h rename to src/chat.h diff --git a/main.cc b/src/main.cc similarity index 100% rename from main.cc rename to src/main.cc