Skip to content

Commit

Permalink
build: remove unused library
Browse files Browse the repository at this point in the history
Remove unused library.
  • Loading branch information
melg8 committed Dec 10, 2024
1 parent 2b038c2 commit 2f0fb2b
Show file tree
Hide file tree
Showing 10 changed files with 4 additions and 5,227 deletions.
3 changes: 0 additions & 3 deletions .mega-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ SHOW_ELAPSED_TIME: true
FILEIO_REPORTER: false # Enable only if runner has internet connection.
PRINT_ALPACA: false # Don't print logo.

FILTER_REGEX_EXCLUDE: ".*/third_party/.*.hpp"

# GIT_DIFF
REPOSITORY_GIT_DIFF_ARGUMENTS: HEAD^

Expand Down Expand Up @@ -108,7 +106,6 @@ NIX_NIX_LINTER_FILTER_REGEX_EXCLUDE: "node-env.nix|node-packages.nix"
SPELL_CODESPELL_ARGUMENTS: >
-D=-
-D=ci/checks/dictionaries/spelling_corrections.txt
--skip="sources/example_glassy/third_party/sources"
# WHITESPACE_FORMAT
GIT_WHITESPACE_FORMAT_ARGUMENTS: >
Expand Down
1 change: 0 additions & 1 deletion ci/checks/code_style.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ cpplint \
--recursive \
--linelength=80 \
--includeorder=standardcfirst \
--exclude="./sources/example_glassy/third_party" \
--filter=-build/c++11,-build/header_guard,-runtime/references,-readability/check,-readability/nolint \
--root=./sources \
./sources
Expand Down
1 change: 0 additions & 1 deletion ci/checks/dictionaries/cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
"workspace"],
"ignorePaths": ["**build**",
"**LICENSES**",
"sources/example_glassy/third_party/sources/**",
"**CMakeLists.txt.user",
"**conan_recipes/range_v3/conanfile.py",
"**deps.nix",
Expand Down
1 change: 0 additions & 1 deletion ci/checks/spelling.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ set -e
DICTIONARY="./ci/checks/dictionaries/spelling_corrections.txt"
SKIP=".git,\
./ci/checks/dictionaries/*,\
./sources/example_glassy/third_party/sources/*,\
*package-lock.json,\
*CMakeLists.txt.user,\
*node-packages.nix"
Expand Down
1 change: 0 additions & 1 deletion sources/example_glassy/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

add_subdirectory(application)
add_subdirectory(library)
add_subdirectory(third_party)

if(ENABLE_TESTING)
add_subdirectory(tests)
Expand Down
4 changes: 2 additions & 2 deletions sources/example_glassy/library/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ header_directories(ALL_LIB_INCLUDE_DIRECTORIES)
target_include_directories(glassy PUBLIC "${ALL_LIB_INCLUDE_DIRECTORIES}"
"${OUTCOME_INCLUDE_DIR}")

target_link_libraries(glassy PUBLIC third_party OpenSSL::Crypto
outcome::outcome gsl::gsl-lite)
target_link_libraries(glassy PUBLIC OpenSSL::Crypto outcome::outcome
gsl::gsl-lite)
1 change: 0 additions & 1 deletion sources/example_glassy/library/sources/asn_1_integer.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

#include <openssl/asn1.h>
#include <gsl/gsl-lite.hpp>
#include <leaf.hpp>
#include <outcome.hpp>

namespace glassy {
Expand Down
5 changes: 2 additions & 3 deletions sources/example_glassy/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ An experiment of creating small library wrapper for OpenSSL functions using mode
├── application/ # Application code
├── library/ # Core library implementation
│ └── sources/ # Library source files
├── tests/ # Test suite
└── third_party/ # External dependencies
└── tests/ # Test suite
```

## Dependencies
Expand Down Expand Up @@ -44,4 +43,4 @@ The core library provides several key components:

### Tests

The project includes a comprehensive test suite to ensure reliability and correctness of the implementation.
The project includes a comprehensive test suite to ensure reliability and correctness of the implementation.
16 changes: 0 additions & 16 deletions sources/example_glassy/third_party/CMakeLists.txt

This file was deleted.

Loading

0 comments on commit 2f0fb2b

Please sign in to comment.