Skip to content

Commit

Permalink
sarif: rename files
Browse files Browse the repository at this point in the history
  • Loading branch information
frabert committed Jul 30, 2024
1 parent b1a0645 commit da2889b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions sarif/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
find_package(nlohmann_json CONFIG REQUIRED)

add_headers(sarif GAP_SARIF_HEADERS
definitions.hpp
sarif.hpp
)

add_sources(sarif GAP_SARIF_SOURCES
definitions.cpp
sarif.cpp
)

add_gap_static_library(gap-sarif "${GAP_SARIF_HEADERS}" "${GAP_SARIF_SOURCES}")
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion sarif/src/definitions.cpp → sarif/src/sarif.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright (c) 2024-present, Trail of Bits, Inc.

#include <gap/sarif/definitions.hpp>
#include <gap/sarif/sarif.hpp>

namespace gap::sarif {
void from_json(const json &j, property_bag &o) {
Expand Down
2 changes: 1 addition & 1 deletion test/sarif/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright 2024, Trail of Bits, Inc. All rights reserved.

add_gap_test(test-gap-sarif
definitions.cpp
sarif.cpp
)

target_link_libraries(test-gap-sarif
Expand Down
2 changes: 1 addition & 1 deletion test/sarif/definitions.cpp → test/sarif/sarif.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2024-present, Trail of Bits, Inc.

#include <doctest/doctest.h>
#include <gap/sarif/definitions.hpp>
#include <gap/sarif/sarif.hpp>

namespace gap::sarif {
TEST_CASE("Struct to JSON roundtrip") {
Expand Down

0 comments on commit da2889b

Please sign in to comment.