Skip to content

Commit d9747a9

Browse files
authored
Remove argparse and change to cpp14 (#46)
* Remove argparse and change to cpp14 * Change Readme * Update Build in README * Remove empty line
1 parent 84c3325 commit d9747a9

File tree

6 files changed

+32
-1714
lines changed

6 files changed

+32
-1714
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
CC = g++-9
2-
CXXFLAGS = -std=c++17 -O3 -Iinc/ -DCPPHTTPLIB_OPENSSL_SUPPORT
1+
CC = g++
2+
CXXFLAGS = -std=c++14 -O3 -Iinc/ -DCPPHTTPLIB_OPENSSL_SUPPORT
33
LDFLAGS = -lpthread -lssl -lcrypto
44

55
APPNAME = webhook

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ See [here](https://api.ohtoai.top/github/)
2323

2424
[All](https://github.com/Ohto-Ai/webhook/releases) | [Latest](https://github.com/Ohto-Ai/webhook/releases/latest)
2525

26+
### v0.2.2
27+
[Ubuntu 18.04](https://github.com/Ohto-Ai/webhook/releases/download/v0.2.2/webhook_ubuntu-18.04_v0.2.2)
28+
| [Ubuntu 20.04](https://github.com/Ohto-Ai/webhook/releases/download/v0.2.2/webhook_ubuntu-20.04_v0.2.2)
29+
| [Ubuntu 22.04](https://github.com/Ohto-Ai/webhook/releases/download/v0.2.2/webhook_ubuntu-22.04_v0.2.2)
30+
2631
### v0.2.1
2732
[Ubuntu 18.04](https://github.com/Ohto-Ai/webhook/releases/download/v0.2.1/webhook_ubuntu-18.04_v0.2.1)
2833
| [Ubuntu 20.04](https://github.com/Ohto-Ai/webhook/releases/download/v0.2.1/webhook_ubuntu-20.04_v0.2.1)
@@ -33,6 +38,20 @@ See [here](https://api.ohtoai.top/github/)
3338
| [Ubuntu 20.04](https://github.com/Ohto-Ai/webhook/releases/download/v0.2.1/webhook_ubuntu-20.04_v0.2.0)
3439
| [Ubuntu 22.04](https://github.com/Ohto-Ai/webhook/releases/download/v0.2.1/webhook_ubuntu-22.04_v0.2.0)
3540

41+
## Build
42+
43+
Ensure you have `make` and `gcc` installed.
44+
45+
Clone the repository and build it with `make`.
46+
47+
```bash
48+
git clone https://github.com/Ohto-Ai/webhook.git
49+
# for chinese user, you can use ghproxy
50+
# git clone https://ghproxy.com/https://github.com/Ohto-Ai/webhook.git
51+
cd webhook
52+
make -j8
53+
```
54+
3655
## Sample
3756
> hook.json
3857
```json

0 commit comments

Comments
 (0)