added tests
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Make (push) Successful in 7s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-CMake (push) Successful in 7s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson (push) Successful in 6s

This commit is contained in:
wt committed 2025-08-24 15:52:44 +07:00
1 parent 07d3ad4585
commit f2a11fa1db
4 files changed
+112 -5

No files matched your search

+5 -2
View File
@@ -9,7 +9,7 @@ TARGET = auth_service
BUILD_DIR=./build
CROSS_COMPILE =
all: $(TARGET)
all: $(TARGET) test
$(TARGET): $(OBJS)
$(CROSS_COMPILE)$(CC) $(LDFLAGS) $^ -o $@ $(LIBS)
@@ -18,4 +18,7 @@ $(TARGET): $(OBJS)
$(CROSS_COMPILE)$(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
clean:
rm -f $(OBJS) $(TARGET)
rm -f $(OBJS) $(TARGET) $(shell find . -type f -name '*.log') users.db
test: $(TARGET)
bash ./tests.sh