Change test to accept options, main to test multiple files
authorLukas Jiriste <ljiriste@student.42prague.com>
Wed, 25 Oct 2023 13:42:51 +0000 (15:42 +0200)
committerLukas Jiriste <ljiriste@student.42prague.com>
Wed, 25 Oct 2023 13:42:51 +0000 (15:42 +0200)
commitfbe59e1c25f22a64fe8ddcc223a59eeae38f8699
tree27444f1f69f624392fdd3b6a0f7694b17b19ea27
parentad2a1fa4c59a069152076545b624882b5a5b01e1
Change test to accept options, main to test multiple files

Change everything to make main merge input files (a little like paste).
This change is made to test bonus part - using get_next_line with
multiple files.
Move logic to produce correct files from test script to Makefile.
Create logic to enable testing of all(a), mandatory(m) or bonus(b)
parts.
Remove dependency on a function available only through get_next_line* as
that may (and probably would) be part of only my implementation. Add
functions that substitute this function.
Update .gitignore to ignore more temporary directories and files that
are created by running test script.
LOGIC FOR PRODUCING THE CORRECT OUTPUT FOR BONUS PART NEEDS TO BE
IMPLEMENTED IN THE FOLLOWING COMMIT.
.gitignore
Makefile
include/main.h
src/ft_strjoin.c [new file with mode: 0644]
src/ft_strjoin_arr.c [new file with mode: 0644]
src/ft_strlcat.c [new file with mode: 0644]
src/main.c
test