Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Use tabs not spaces for Makefile #64

Merged
merged 1 commit into from
Nov 4, 2024
Merged
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
16 changes: 8 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,23 @@ PG_CONFIG ?= pg_config
all: pg_parquet

cargo-exists:
@which cargo > /dev/null || (echo "cargo is not available. Please install cargo." && exit 1)
@which cargo > /dev/null || (echo "cargo is not available. Please install cargo." && exit 1)

cargo-pgrx-exists: cargo-exists
@which cargo-pgrx > /dev/null || (echo "cargo-pgrx is not available. Please install cargo-pgrx." && exit 1)
@which cargo-pgrx > /dev/null || (echo "cargo-pgrx is not available. Please install cargo-pgrx." && exit 1)

pg_parquet: cargo-pgrx-exists
cargo build --release --features pg17
cargo build --release --features pg17

install: pg_parquet
cargo pgrx install --release --features pg17
cargo pgrx install --release --features pg17

clean: cargo-exists
cargo clean
cargo clean

check: cargo-pgrx-exists
RUST_TEST_THREADS=1 cargo pgrx test pg17
RUST_TEST_THREADS=1 cargo pgrx test pg17

uninstall:
rm -f $(shell $(PG_CONFIG) --pkglibdir)/pg_parquet.so
rm -f $(shell $(PG_CONFIG) --sharedir)/extension/pg_parquet*
rm -f $(shell $(PG_CONFIG) --pkglibdir)/pg_parquet.so
rm -f $(shell $(PG_CONFIG) --sharedir)/extension/pg_parquet*
Loading