Skip to content

Commit 6e07b0e

Browse files
authored
Rename build-examples make target to examples (#128)
Shorter, more natural target name.
1 parent ec8c33c commit 6e07b0e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ EXAMPLES_SOURCE_FILES := $(shell find $(EXAMPLES_DIR) -name *.pony)
4545
EXAMPLES_BINARIES := $(addprefix $(BUILD_DIR)/,$(EXAMPLES))
4646
BENCH_SOURCE_FILES := $(shell find $(BENCH_DIR) -name *.pony)
4747

48-
test: unit-tests build-examples
48+
test: unit-tests examples
4949

5050
unit-tests: $(tests_binary)
5151
$^ --exclude=integration --sequential
@@ -54,7 +54,7 @@ $(tests_binary): $(SOURCE_FILES) | $(BUILD_DIR)
5454
$(GET_DEPENDENCIES_WITH)
5555
$(PONYC) -o $(BUILD_DIR) $(SRC_DIR)
5656

57-
build-examples: $(EXAMPLES_BINARIES)
57+
examples: $(EXAMPLES_BINARIES)
5858

5959
$(EXAMPLES_BINARIES): $(BUILD_DIR)/%: $(SOURCE_FILES) $(EXAMPLES_SOURCE_FILES) | $(BUILD_DIR)
6060
$(GET_DEPENDENCIES_WITH)
@@ -92,4 +92,4 @@ all: test
9292
$(BUILD_DIR):
9393
mkdir -p $(BUILD_DIR)
9494

95-
.PHONY: all build-examples clean TAGS test
95+
.PHONY: all examples clean TAGS test

0 commit comments

Comments
 (0)