Skip to content

Commit f1f7de7

Browse files
committed
chore: cleanup project for evaluation
- Deleted tests, with workflows etc.
1 parent 62780f9 commit f1f7de7

11 files changed

Lines changed: 5 additions & 4838 deletions

File tree

.github/workflows/norminette.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ jobs:
1616

1717
- name: Run Norminette (excluding minilibx and tester)
1818
run: |
19-
norminette -RCheckForbiddenSourceHeader $(find . -name "*.c" -o -name "*.h" | grep -v "/mlx42/" | grep -v "/tests/" | grep -v "/unity/")
19+
norminette -RCheckForbiddenSourceHeader $(find . -name "*.c" -o -name "*.h" | grep -v "/mlx42/")

.github/workflows/unit-test.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

Makefile

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# By: qvan-der <qvan-der@student.codam.nl> +#+ #
77
# +#+ #
88
# Created: 0025/10/06 13:12:46 by van-der #+# #+# #
9-
# Updated: 2026/03/07 20:26:40 by qvan-der ######## odam.nl #
9+
# Updated: 2026/03/12 14:03:24 by qvan-der ######## odam.nl #
1010
# #
1111
# **************************************************************************** #
1212

@@ -115,24 +115,12 @@ CFILES = $(addprefix $(SOURCE_DIR), $(SOURCE_CFILES)) \
115115
SRC_FILES = $(addprefix $(SRC_DIR), $(CFILES))
116116
OBJ_FILES = $(patsubst $(SRC_DIR)%.c, $(OBJ_DIR)/%.o, $(SRC_FILES))
117117

118-
# ========= Unity Configuration ========= #
119-
120-
TEST_NAME = tester
121-
TEST_DIR = tests/
122-
UNITY_DIR = lib/unity/
123-
124-
TEST_SRCS = $(wildcard $(TEST_DIR)*.c)
125-
UNITY_SRC = $(UNITY_DIR)unity.c
126-
127-
PROJECT_OBJS_NO_MAIN = $(filter-out $(OBJ_DIR)/./main.o, $(OBJ_FILES))
128-
TEST_CPPFLAGS = $(CPPFLAGS) -I$(UNITY_DIR) -DUNITY_INCLUDE_DOUBLE
129-
130118
# ========= Register Functions ========= #
131119

132120
all: $(NAME)
133121

134122
norm:
135-
@norminette -RCheckForbiddenSourceHeader $(shell find . -name "*.c" -o -name "*.h" | grep -v "/mlx42/" | grep -v "/tests/" | grep -v "/unity/")
123+
@norminette -RCheckForbiddenSourceHeader $(shell find . -name "*.c" -o -name "*.h" | grep -v "/mlx42/")
136124

137125
$(NAME): $(OBJ_FILES) $(LIBFT) $(MLX)
138126
$(CC) $(CFLAGS) $(OBJ_FILES) $(LDFLAGS) $(LDLIBS) -o $(NAME)
@@ -157,10 +145,6 @@ fclean: clean
157145
make fclean -C $(LIBFT_DIR)
158146
rm -rf $(NAME)
159147

160-
tests: $(NAME)
161-
@$(CC) $(TEST_CPPFLAGS) $(TEST_SRCS) $(UNITY_SRC) $(PROJECT_OBJS_NO_MAIN) $(LDFLAGS) $(LDLIBS) -o $(TEST_NAME)
162-
@./$(TEST_NAME)
163-
164148
re: fclean all
165149

166-
.PHONY: all tester clean fclean re tests
150+
.PHONY: all clean fclean re

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ Available Makefile rules:
6565
~$ make clean # Remove object files.
6666
~$ make fclean # Remove object files and binary.
6767
~$ make re # Rebuild everything.
68-
~$ make tests # Build the tester and run it.
6968
~$ make norm # Run norminette without checking the tests etc.
7069
```
7170

@@ -100,7 +99,7 @@ AI tools were used for clarifying and debugging, including:
10099
- Brainstorming project structure
101100
- Clarifying mathematical formulas
102101
- Debugging graphics issues
103-
102+
- Creating complex scenes
104103

105104
## Images
106105

docs/Ray.md

Lines changed: 0 additions & 61 deletions
This file was deleted.

docs/Vectors.md

Lines changed: 0 additions & 68 deletions
This file was deleted.

0 commit comments

Comments
 (0)