chore: 删除老旧的测试代码和构建工具脚本

This commit is contained in:
2026-06-05 16:23:04 +08:00
parent ff40b3caa0
commit ebc277201a
15 changed files with 1 additions and 903 deletions

View File

@@ -39,18 +39,8 @@ build: prepare
@cmake --build $(BUILD_DIR)
@cp -lf $(BUILD_DIR)/$(TARGET_NAME) $(TARGET)
build-test:
cmake -S $(SRC_DIR) -B $(BUILD_DIR) -DBUILD_TESTING=ON
cmake --build $(BUILD_DIR)
test: build-test
ctest --test-dir $(BUILD_DIR)
test-detail: build-test
ctest --test-dir $(BUILD_DIR) --rerun-failed --output-on-failure
install-hooks:
chmod +x $(MAKEFILE_DIR).githooks/pre-commit
git -C $(MAKEFILE_DIR) config core.hooksPath $(MAKEFILE_DIR).githooks
.PHONY: clean run wm prepare build install uninstall reinstall test install-hooks
.PHONY: clean run wm prepare build install uninstall reinstall install-hooks