Skip to content

Commit a720433

Browse files
authored
Rename build-examples make target to examples (#39)
Shorter, more natural target name.
1 parent 9bf67a5 commit a720433

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/breakage-against-ponyc-latest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
REDIS_RESP2_HOST: redis-resp2
5151
REDIS_RESP2_PORT: 6379
5252
- name: Build examples
53-
run: make build-examples config=debug ssl=libressl
53+
run: make examples config=debug ssl=libressl
5454
- name: Send alert on failure
5555
if: ${{ failure() }}
5656
uses: zulip/github-actions-zulip/send-message@e4c8f27c732ba9bd98ac6be0583096dea82feea5

.github/workflows/pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,4 @@ jobs:
5959
REDIS_RESP2_HOST: redis-resp2
6060
REDIS_RESP2_PORT: 6379
6161
- name: Build examples
62-
run: make build-examples config=debug ssl=libressl
62+
run: make examples config=debug ssl=libressl

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
make # build and run all tests (requires Redis running)
77
make unit-tests # run unit tests only (no Redis needed)
88
make integration-tests # run integration tests only (requires Redis)
9-
make build-examples # build example programs
9+
make examples # build example programs
1010
make start-redis # start plaintext, SSL, and RESP2-only Redis in Docker
1111
make stop-redis # stop and remove all Redis containers
1212
make clean # clean build artifacts

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ EXAMPLES := $(notdir $(shell find $(EXAMPLES_DIR)/* -maxdepth 0 -type d))
4242
EXAMPLES_SOURCE_FILES := $(shell find $(EXAMPLES_DIR) -name *.pony)
4343
EXAMPLES_BINARIES := $(addprefix $(BUILD_DIR)/,$(EXAMPLES))
4444

45-
test: unit-tests integration-tests build-examples
45+
test: unit-tests integration-tests examples
4646

4747
unit-tests: $(tests_binary)
4848
$^ --exclude=integration/ --sequential
@@ -67,7 +67,7 @@ $(tests_binary): $(SOURCE_FILES) | $(BUILD_DIR)
6767
$(GET_DEPENDENCIES_WITH)
6868
$(PONYC) -o $(BUILD_DIR) $(SRC_DIR)
6969

70-
build-examples: $(EXAMPLES_BINARIES)
70+
examples: $(EXAMPLES_BINARIES)
7171

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

95-
.PHONY: all build-examples clean docs integration-tests start-redis stop-redis TAGS test unit-tests
95+
.PHONY: all examples clean docs integration-tests start-redis stop-redis TAGS test unit-tests

0 commit comments

Comments
 (0)