Skip to content

Commit 8a8c95a

Browse files
committed
Removed submodule
1 parent 97ad46d commit 8a8c95a

9 files changed

Lines changed: 6 additions & 38 deletions

File tree

.github/workflows/macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: macos-latest
1919

2020
steps:
21-
- uses: actions/checkout@v2
21+
- uses: actions/checkout@v1
2222
with:
2323
submodules: true
2424

.github/workflows/ubuntu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-latest
1919

2020
steps:
21-
- uses: actions/checkout@v2
21+
- uses: actions/checkout@v1
2222
with:
2323
submodules: true
2424

.github/workflows/windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: windows-latest
1919

2020
steps:
21-
- uses: actions/checkout@v2
21+
- uses: actions/checkout@v1
2222
with:
2323
submodules: true
2424

.gitmodules

Lines changed: 0 additions & 3 deletions
This file was deleted.

CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,14 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/include/Config.hpp.in ${CMAKE_CURRENT
2727
file(GLOB TARGET_SRC "./src/*.cpp")
2828
file(GLOB TARGET_HEADERS "./include/*.hpp")
2929

30-
include(submodules/install.cmake)
31-
3230
if(BUILD_LIBRARY)
3331
add_library(${PROJECT_NAME} STATIC ${TARGET_SRC} ${TARGET_HEADERS})
3432
else()
3533
if(UNIX)
3634
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread")
3735
endif()
3836
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -lcurl")
39-
add_executable(${PROJECT_NAME} ${TARGET_SRC} ${TARGET_HEADERS})
37+
add_executable(${PROJECT_NAME}_EXE ${TARGET_SRC} ${TARGET_HEADERS})
4038
endif()
4139

4240
# Include headers

examples/1/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ int main(int argc, const char** argv)
1010
std::cout << "I'm created vk::BotBase!" << std::endl;
1111
std::cout << "The address is: " << &bot << std::endl;
1212
try {
13-
if (bot.Auth(access_token) == true) {
13+
if (bot.Auth(access_token)) {
1414
std::cout << "Auth is ended successfully" << std::endl;
1515
} else {
1616
std::cout << "Auth is failed!" << std::endl;

include/Types.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ typedef unsigned int uint32_t;
2121
typedef unsigned long long uint64_t;
2222
#endif // __CPLUSPLUS_OVER_11
2323

24-
#include "nlohmann/json.hpp" // nlohmann::json
24+
#include "nlohmann/json.hpp"
2525

2626
namespace vk
2727
{

submodules/install.cmake

Lines changed: 0 additions & 26 deletions
This file was deleted.

submodules/json

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)