Skip to content

Commit

Permalink
Set up clang-format; add more dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
0xg0nz0 committed Jan 1, 2024
1 parent b838244 commit ea1a058
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
BasedOnStyle: Chromium
BreakConstructorInitializers: BeforeComma
ConstructorInitializerAllOnOneLineOrOnePerLine: false
ColumnLimit: 140
IndentWidth: 4
AccessModifierOffset: -4
...
8 changes: 7 additions & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,16 @@ RUN if [ "${REINSTALL_CMAKE_VERSION_FROM_SOURCE}" != "none" ]; then \
&& rm -f /tmp/reinstall-cmake.sh

# install basic tools
RUN sudo apt-get update && sudo apt-get install doxygen graphviz -y
RUN sudo apt-get update \
&& sudo apt-get install clang-format clang-tidy doxygen graphviz -y

# Install C++ dependencies using vcpkg
RUN vcpkg integrate install \
&& vcpkg install argh \
&& vcpkg install benchmark \
&& vcpkg install libuv \
&& vcpkg install lz4 \
&& vcpkg install ngtcp2 \
&& vcpkg install simdjson \
&& vcpkg install spdlog \
&& vcpkg install wolfssl

0 comments on commit ea1a058

Please sign in to comment.