Skip to content

Commit

Permalink
fixup! tooling: Add Bazel support
Browse files Browse the repository at this point in the history
  • Loading branch information
cassava committed Jul 12, 2024
1 parent f52a983 commit b18bd79
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 15 deletions.
6 changes: 0 additions & 6 deletions oak/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ cc_library(
hdrs = glob(["include/**/*.hpp"]),
srcs = glob(["src/**"], exclude=["src/**/*_test.cpp"]),
includes = [ "include" ],
copts = [
"-Ioak/src"
],
deps = [
"//runtime",
"@oatpp",
Expand All @@ -16,9 +13,6 @@ cc_library(
cc_test(
name = "models_test",
srcs = glob(["src/**/*_test.cpp", "src/**/*.hpp"]),
copts = [
"-Ioak/src"
],
deps = [
":oak",
"@gtest//:gtest_main",
Expand Down
7 changes: 4 additions & 3 deletions oak/src/oak/registrar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* \see oak/registrar.hpp
*/

#include "oak/registrar.hpp"
#include <oak/registrar.hpp>

#include <map>
#include <memory>
Expand All @@ -30,8 +30,9 @@

#include <cloe/handler.hpp> // for Request, Response, Handler

#include "oak/request_stub.hpp" // for RequestStub
#include "oak/server.hpp" // for Server
#include <oak/server.hpp> // for Server

#include "request_stub.hpp" // for RequestStub

namespace oak {

Expand Down
2 changes: 1 addition & 1 deletion oak/src/oak/route_muxer_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#include <vector> // for vector<>
using namespace std; // NOLINT(build/namespaces)

#include "oak/route_muxer.hpp" // for Muxer<>
#include <oak/route_muxer.hpp> // for Muxer<>
using oak::Muxer;
using oak::Parameters;

Expand Down
5 changes: 3 additions & 2 deletions oak/src/oak/server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,9 @@
#include <fable/json.hpp> // for Json
using namespace cloe; // NOLINT(build/namespaces)

#include "oak/request_stub.hpp" // for RequestStub
#include "oak/route_muxer.hpp" // for Muxer<>
#include <oak/route_muxer.hpp> // for Muxer<>

#include "request_stub.hpp" // for RequestStub

namespace oak {

Expand Down
7 changes: 4 additions & 3 deletions oak/src/oak/server_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,10 @@
#include <cloe/registrar.hpp>
#include <fable/utility/gtest.hpp>

#include "oak/curl.hpp" // for Curl
#include "oak/registrar.hpp" // for Registrar
#include "oak/server.hpp" // for Server
#include <oak/registrar.hpp> // for Registrar
#include <oak/server.hpp> // for Server

#include "curl.hpp" // for Curl

using namespace std; // NOLINT(build/namespaces)

Expand Down

0 comments on commit b18bd79

Please sign in to comment.