Skip to content
Open
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
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,19 @@ That hand-off file is the entire API — nothing else needs to be copied:
# lint.mk — thin wrapper; the whole local footprint for consuming
# https://github.com/Postgres-Extensions/linter. Everything else lives in
# the .vendor/linter submodule; see its README for available targets/rules.
#
# Guarded by $(wildcard .git) so `make dist`/PGXN release tarballs (built via
# `git archive`, which strips .git and submodule content entirely) don't try
# to init the submodule and abort the whole Makefile parse -- `make lint`
# just becomes unavailable there, which is fine since PGXN consumers don't
# need it. Matches both a real .git directory (plain clone) and the .git
# file pointer used inside a git worktree.
ifneq ($(wildcard .git),)
.vendor/linter/lint.mk:
git submodule update --init -- .vendor/linter

include .vendor/linter/lint.mk
endif
```

Add the submodule once:
Expand Down