2
0
mirror of https://github.com/boostorg/redis.git synced 2026-01-19 04:42:09 +00:00

examples => example

This commit is contained in:
Ruben Perez
2023-10-04 17:47:03 +02:00
parent d0c3b3f7ee
commit 56f7d5af69
20 changed files with 7 additions and 7 deletions

View File

@@ -7,7 +7,7 @@ codecov:
ignore:
- "benchmarks/cpp/asio/*"
- "examples/*"
- "example/*"
- "tests/*"
- "/usr/*"
- "**/boost/*"

View File

@@ -74,5 +74,5 @@ if(BOOST_REDIS_MAIN_PROJECT AND BUILD_TESTING)
add_subdirectory(benchmarks)
# Examples
add_subdirectory(examples)
add_subdirectory(example)
endif()

View File

@@ -9,7 +9,7 @@ path-constant this_dir : . ;
path-constant target_dir : html ;
path-constant redis_root_dir : .. ;
path-constant include_dir : ../include ;
path-constant examples_dir : ../examples ;
path-constant examples_dir : ../example ;
path-constant readme : ../README.md ;
path-constant layout_file : DoxygenLayout.xml ;

View File

@@ -41,7 +41,7 @@ struct user {
// The type must be described for serialization to work.
BOOST_DESCRIBE_STRUCT(user, (), (name, age, country))
// Boost.Redis customization points (examples/json.hpp)
// Boost.Redis customization points (example/json.hpp)
void boost_redis_to_bulk(std::string& to, user const& u)
{ boost::redis::resp3::boost_redis_to_bulk(to, boost::json::serialize(boost::json::value_from(u))); }

View File

@@ -27,10 +27,10 @@ using boost::redis::ignore_t;
using boost::redis::config;
using boost::redis::connection;
// The protobuf type described in examples/person.proto
// The protobuf type described in example/person.proto
using tutorial::person;
// Boost.Redis customization points (examples/protobuf.hpp)
// Boost.Redis customization points (example/protobuf.hpp)
namespace tutorial
{

View File

@@ -109,7 +109,7 @@ def _setup_boost(
# Install Boost dependencies
_run(["git", "config", "submodule.fetchJobs", "8"])
_run(["git", "submodule", "update", "-q", "--init", "tools/boostdep"])
_run(["python", "tools/boostdep/depinst/depinst.py", "--include", "examples", "redis"])
_run(["python", "tools/boostdep/depinst/depinst.py", "--include", "example", "redis"])
# Bootstrap
if _is_windows: