Skip to content

Commit

Permalink
fix: Use tabs not spaces for Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
pgguru committed Oct 29, 2024
1 parent 78fc489 commit d1643bd
Showing 1 changed file with 8 additions and 8 deletions.
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*

0 comments on commit d1643bd

Please sign in to comment.