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 @@ -7,7 +7,7 @@ A Pony library for interacting with the GitHub REST API. Provides typed models,
```
make ssl=3.0.x # build + run unit tests + build examples
make unit-tests ssl=3.0.x # unit tests only
make build-examples ssl=3.0.x # build examples only
make examples ssl=3.0.x # build examples only
make clean # clean build artifacts + corral deps
make config=debug ssl=3.0.x # debug build
```
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@ EXAMPLES_BINARIES := $(addprefix $(BUILD_DIR)/,$(EXAMPLES))
mkfile_path := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
PARALLEL := $(shell n=$$(nproc); echo $$(( n < 4 ? n : 4 )))

test: unit-tests build-examples
test: unit-tests examples

unit-tests: $(tests_binary)
$^ --exclude=integration --sequential

$(tests_binary): $(SOURCE_FILES) | $(BUILD_DIR) fetch
$(PONYC) -o $(BUILD_DIR) $(SRC_DIR)

build-examples: | fetch
examples: | fetch
@$(MAKE) -j$(PARALLEL) _build_examples GET_DEPENDENCIES_WITH=true

fetch:
Expand Down Expand Up @@ -83,4 +83,4 @@ all: test
$(BUILD_DIR):
mkdir -p $(BUILD_DIR)

.PHONY: all build-examples _build_examples clean fetch TAGS test
.PHONY: all examples _build_examples clean fetch TAGS test