<commit_before># **************************************************************************** #
#                                                                              #
#                                                         :::      ::::::::    #
#    Makefile                                           :+:      :+:    :+:    #
#                                                     +:+ +:+         +:+      #
#    By: dda-silv <<EMAIL>>          +#+  +:+       +#+         #
#                                                 +#+#+#+#+#+   +#+            #
#    Created: 2014/11/05 16:43:20 by dda-silv          #+#    #+#              #
#    Updated: 2014/11/05 18:55:13 by dda-silv         ###   ########.fr        #
#                                                                              #
# **************************************************************************** #

CC = gcc

CFLAGS = -Wall -Werror -Wextra

SRC = ../libft/ft_*.c

all: test

test:
	norminette $(SRC)
	$(CC) $(CFLAGS) runner.c test_macros.c tests.c $(SRC) -o test_runner
	./test_runner<commit_msg>norminette is now a required success<commit_after># **************************************************************************** #
#                                                                              #
#                                                         :::      ::::::::    #
#    Makefile                                           :+:      :+:    :+:    #
#                                                     +:+ +:+         +:+      #
#    By: dda-silv <<EMAIL>>          +#+  +:+       +#+         #
#                                                 +#+#+#+#+#+   +#+            #
#    Created: 2014/11/05 16:43:20 by dda-silv          #+#    #+#              #
#    Updated: 2014/11/08 16:05:01 by dda-silv         ###   ########.fr        #
#                                                                              #
# **************************************************************************** #

CC = gcc

CFLAGS = -Wall -Werror -Wextra

SRC_DIR = ../libft

all: norm test

norm:
	! norminette $(SRC_DIR)/ft_*.c $(SRC_DIR)/*.h | egrep -B1 -i "Error|Warning"

test:
	$(CC) $(CFLAGS) runner.c test_macros.c tests.c $(SRC_DIR)/ft_*.c -o test_runner
	./test_runner
{'fraction_non_alphanumeric': 0.2679824561403509, 'fraction_numerical': 0.025, 'mean_word_length': 0.9168067226890756, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 30, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3324253', 'n_tokens_mistral': 618, 'n_tokens_neox': 550, 'n_words': 87}