Skip to content
This repository was archived by the owner on May 3, 2023. It is now read-only.

Commit 4630c46

Browse files
fix: README.md and add Makefile for installation
1 parent 388c47b commit 4630c46

File tree

2 files changed

+52
-0
lines changed

2 files changed

+52
-0
lines changed

Makefile

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
##
2+
## HTTPCLIENT WRAPPER, 2022
3+
## HttpClient Wrapper Makefile
4+
## File description:
5+
## Generic Makefile for HttpClient Wrapper
6+
##
7+
8+
#=================================
9+
# Variables
10+
#=================================
11+
12+
APP_NAME = httpclient-wrapper
13+
14+
APP_VERSION = 1.0
15+
16+
#=================================
17+
# Commands
18+
#=================================
19+
20+
.PHONY: all \
21+
install \
22+
test \
23+
finstall \
24+
clean
25+
26+
all: install
27+
28+
# This command install the application
29+
install:
30+
mvn install
31+
32+
# This command install the application without the tests
33+
finstall:
34+
mvn install -DskipTests
35+
36+
# This command start all the tests
37+
test:
38+
mvn test
39+
40+
# This command remove the target directory
41+
clean:
42+
mvn clean

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@
33
This wrapper allow you to create a simple HTTP client.
44
This client try to simulate a navigator. It can be used to send HTTP requests and receive HTTP responses.
55

6+
## Install the package
7+
8+
You can run this following command to install the package locally:
9+
```bash
10+
# Install the package
11+
make install
12+
# Install the package without the tests
13+
make finstall
14+
```
15+
616
## Configure proxy
717

818
You client can be used with [brightData](brightdata.com) proxy.

0 commit comments

Comments
 (0)