Skip to content

Commit

Permalink
examples => example
Browse files Browse the repository at this point in the history
  • Loading branch information
anarthal committed Oct 4, 2023
1 parent d0c3b3f commit 56f7d5a
Show file tree
Hide file tree
Showing 20 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ codecov:

ignore:
- "benchmarks/cpp/asio/*"
- "examples/*"
- "example/*"
- "tests/*"
- "/usr/*"
- "**/boost/*"
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,5 @@ if(BOOST_REDIS_MAIN_PROJECT AND BUILD_TESTING)
add_subdirectory(benchmarks)

# Examples
add_subdirectory(examples)
add_subdirectory(example)
endif()
2 changes: 1 addition & 1 deletion doc/Jamfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 ;

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion examples/cpp20_json.cpp → example/cpp20_json.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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))); }

Expand Down
4 changes: 2 additions & 2 deletions examples/cpp20_protobuf.cpp → example/cpp20_protobuf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
{

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion tools/ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 56f7d5a

Please sign in to comment.