From 2ffe2efa5282c719ef068cc0f7362c2d2a7a06f4 Mon Sep 17 00:00:00 2001 From: "Sean T. Allen" Date: Tue, 3 Mar 2026 19:33:05 -0500 Subject: [PATCH] Rename build-examples make target to examples Shorter, more natural target name. --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index f5dfda1..4398c83 100644 --- a/Makefile +++ b/Makefile @@ -30,7 +30,7 @@ EXAMPLES := $(notdir $(shell find $(EXAMPLES_DIR)/* -maxdepth 0 -type d)) EXAMPLES_SOURCE_FILES := $(shell find $(EXAMPLES_DIR) -name *.pony) EXAMPLES_BINARIES := $(addprefix $(BUILD_DIR)/,$(EXAMPLES)) -test: unit-tests integration-tests build-examples +test: unit-tests integration-tests examples unit-tests: $(tests_binary) $^ --exclude=integration/ --sequential @@ -42,7 +42,7 @@ $(tests_binary): $(SOURCE_FILES) | $(BUILD_DIR) $(GET_DEPENDENCIES_WITH) $(PONYC) -o $(BUILD_DIR) $(SRC_DIR) -build-examples: $(EXAMPLES_BINARIES) +examples: $(EXAMPLES_BINARIES) $(EXAMPLES_BINARIES): $(BUILD_DIR)/%: $(SOURCE_FILES) $(EXAMPLES_SOURCE_FILES) | $(BUILD_DIR) $(GET_DEPENDENCIES_WITH) @@ -78,4 +78,4 @@ $(BUILD_DIR): $(COVERAGE_DIR): mkdir -p $(COVERAGE_DIR) -.PHONY: all build-examples clean docs TAGS test coverage +.PHONY: all examples clean docs TAGS test coverage