хозяйственная работа: переместите http библиотеку в подмодуль
This commit is contained in:
parent
33191fa791
commit
666f9edd64
6 changed files with 7 additions and 10247 deletions
|
|
@ -8,7 +8,7 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteracive apt-get install -y \
|
|||
WORKDIR /build
|
||||
|
||||
COPY app/healthcheck.cpp app/healthcheck.cpp
|
||||
COPY include/httplib.hpp include/httplib.hpp
|
||||
COPY include/http include/http
|
||||
RUN g++ -o healthcheck -I./include ./app/healthcheck.cpp;
|
||||
|
||||
COPY app app
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#include "httplib.hpp"
|
||||
#include "http/httplib.h"
|
||||
|
||||
int main() {
|
||||
auto res = httplib::Client("127.0.0.1", 80).Get("/health");
|
||||
|
|
|
|||
|
|
@ -1,11 +1,10 @@
|
|||
#include "httplib.hpp"
|
||||
#include "http/httplib.h"
|
||||
|
||||
#include <csignal>
|
||||
#include <filesystem>
|
||||
#include <fstream>
|
||||
#include <functional>
|
||||
#include <iostream>
|
||||
#include <locale>
|
||||
#include <mutex>
|
||||
|
||||
#include "PromtCtlDocument.hpp"
|
||||
|
|
|
|||
1
puppy/include/http
Submodule
1
puppy/include/http
Submodule
|
|
@ -0,0 +1 @@
|
|||
Subproject commit adf58bf474fac638160592d6c3f67da4ebc7df20
|
||||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue