-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
65 lines (43 loc) · 926 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
!!! IF YOU ARE FROM EPITA's ING1 AND CURRENTLY DOING THIS PROJECT DON'T CHEAT !!!
# 42sh
Recreation of a shell from nothing using C
## Use 42sh
### Prerequisites
To run this project, the requirements are :
```
gcc
```
### Installing
You can clone this repository and jump inside it
```
git clone [email protected]:p/2022/42sh/pierrick.made-42sh.git 42sh
cd 42sh
```
Then you can generate the executable using cmake
```
mkdir build
cd build
cmake ..
make
```
An executable called 42sh is now available !
### Usage
You can launch the shell using the executable at the root of the project:
```
./42sh
```
## Run tests of 42sh
You can also run the unit testsuite of 42sh
```
cd build
make check
```
To run the fonctional testsuite you need to launch the python script in tests
```
python tests/42sh_tests.py --help
```
## AUTHORS
- cloé.lacombe
- nicolas.blin
- zakaria.ben-allal
- pierrick.made