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 .github/workflows/pony-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ jobs:
steps:
- uses: actions/checkout@v6.0.2
- name: Lint
run: pony-lint
run: make lint
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ GET_DEPENDENCIES_WITH := corral fetch
CLEAN_DEPENDENCIES_WITH := corral clean
COMPILE_WITH := corral run -- ponyc
BUILD_DOCS_WITH := corral run -- pony-doc
LINT_WITH := corral run -- pony-lint

BUILD_DIR ?= build/$(config)
SRC_DIR := $(PACKAGE)
Expand Down Expand Up @@ -58,6 +59,10 @@ $(docs_dir): $(SOURCE_FILES)

docs: $(docs_dir)

lint:
$(GET_DEPENDENCIES_WITH)
$(LINT_WITH) .

TAGS:
ctags --recurse=yes $(SRC_DIR)

Expand All @@ -66,4 +71,4 @@ all: test
$(BUILD_DIR):
mkdir -p $(BUILD_DIR)

.PHONY: all examples clean TAGS test test-one
.PHONY: all examples clean lint TAGS test test-one
Loading