Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Pure Pony PostgreSQL driver. Alpha-level. Version 0.2.2.
make ssl=3.0.x # build and run all tests
make unit-tests ssl=3.0.x # unit tests only (no postgres needed)
make integration-tests ssl=3.0.x # integration tests (needs postgres)
make build-examples ssl=3.0.x # compile examples
make examples ssl=3.0.x # compile examples
make start-pg-containers # docker postgres:14.5 on ports 5432 (plain) and 5433 (SSL)
make stop-pg-containers # stop docker containers
```
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,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
Expand All @@ -56,7 +56,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)
Expand Down Expand Up @@ -100,4 +100,4 @@ $(BUILD_DIR):
$(COVERAGE_DIR):
mkdir -p $(COVERAGE_DIR)

.PHONY: all build-examples clean docs TAGS test coverage start-pg-containers stop-pg-containers
.PHONY: all examples clean docs TAGS test coverage start-pg-containers stop-pg-containers