From 44f53a1f2d6bd3c238b8b6f4a3f440c6aec41fac Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sat, 19 Mar 2016 09:21:22 -0400 Subject: Added missing unistd.h include --- wordplay.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wordplay.cpp b/wordplay.cpp index 74ac40d..ae28159 100644 --- a/wordplay.cpp +++ b/wordplay.cpp @@ -5,6 +5,7 @@ #include #include #include +#include int main(int argc, char** argv) { @@ -84,4 +85,4 @@ int main(int argc, char** argv) sleep(60 * 60); } -} \ No newline at end of file +} -- cgit 1.4.1 From b4fa1f4cb3d1edbfaa55927f2b4c8717017a311b Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sat, 19 Mar 2016 09:21:35 -0400 Subject: Reordered link libraries to fix linking error --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a7693ff..0ef9832 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,4 +16,4 @@ include_directories(vendor/verbly/lib) add_executable(wordplay wordplay.cpp) set_property(TARGET wordplay PROPERTY CXX_STANDARD 11) set_property(TARGET wordplay PROPERTY CXX_STANDARD_REQUIRED ON) -target_link_libraries(wordplay ${sqlite3_LIBRARIES} yaml-cpp twitcurl curl verbly) +target_link_libraries(wordplay verbly ${sqlite3_LIBRARIES} yaml-cpp twitcurl curl) -- cgit 1.4.1 From 48f6fe80b15dac3b9e65f05b2e125aeb4ca8c573 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sat, 19 Mar 2016 09:47:43 -0400 Subject: Added a README --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..85500be --- /dev/null +++ b/README.md @@ -0,0 +1,9 @@ +# wordplay +wordplay is a twitter bot that generates rhyming jokes similar to this: + + + + +It uses my natural language generation library [verbly](https://github.com/hatkirby/verbly) to pick words, [YAMLcpp](https://github.com/jbeder/yaml-cpp) to read a configuration file, and [twitcurl](https://github.com/swatkat/twitcurl) to send the status updates to Twitter. + +The canonical wordplay handle is [@eventhenotion](https://twitter.com/eventhenotion). -- cgit 1.4.1