Skip to content

Commit

Permalink
Removed submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
qucals committed Oct 25, 2022
1 parent 97ad46d commit 8a8c95a
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 38 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: macos-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v1
with:
submodules: true

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v1
with:
submodules: true

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: windows-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v1
with:
submodules: true

Expand Down
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

4 changes: 1 addition & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,14 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/include/Config.hpp.in ${CMAKE_CURRENT
file(GLOB TARGET_SRC "./src/*.cpp")
file(GLOB TARGET_HEADERS "./include/*.hpp")

include(submodules/install.cmake)

if(BUILD_LIBRARY)
add_library(${PROJECT_NAME} STATIC ${TARGET_SRC} ${TARGET_HEADERS})
else()
if(UNIX)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread")
endif()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -lcurl")
add_executable(${PROJECT_NAME} ${TARGET_SRC} ${TARGET_HEADERS})
add_executable(${PROJECT_NAME}_EXE ${TARGET_SRC} ${TARGET_HEADERS})
endif()

# Include headers
Expand Down
2 changes: 1 addition & 1 deletion examples/1/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ int main(int argc, const char** argv)
std::cout << "I'm created vk::BotBase!" << std::endl;
std::cout << "The address is: " << &bot << std::endl;
try {
if (bot.Auth(access_token) == true) {
if (bot.Auth(access_token)) {
std::cout << "Auth is ended successfully" << std::endl;
} else {
std::cout << "Auth is failed!" << std::endl;
Expand Down
2 changes: 1 addition & 1 deletion include/Types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ typedef unsigned int uint32_t;
typedef unsigned long long uint64_t;
#endif // __CPLUSPLUS_OVER_11

#include "nlohmann/json.hpp" // nlohmann::json
#include "nlohmann/json.hpp"

namespace vk
{
Expand Down
26 changes: 0 additions & 26 deletions submodules/install.cmake

This file was deleted.

1 change: 0 additions & 1 deletion submodules/json
Submodule json deleted from 1fd221

0 comments on commit 8a8c95a

Please sign in to comment.