Skip to content

Commit

Permalink
chore: Makefile tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
VorpalBlade committed Jul 25, 2024
1 parent ad7d357 commit 872825a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ target/release/xtask: build-cargo

build-cargo:
# Let cargo figure out if a build is needed
cargo build --release $(CARGO_FLAGS)
cargo build --locked --release $(CARGO_FLAGS)

test:
cargo test --locked --release $(CARGO_FLAGS)

install: install-paketkoll install-konfigkoll

Expand All @@ -47,4 +50,4 @@ install-konfigkoll: target/release/konfigkoll target/release/konfigkoll-rune tar
install-dirs:
install -d $(DESTDIR)$(BINDIR) $(DESTDIR)$(BASHDIR) $(DESTDIR)$(ZSHDIR) $(DESTDIR)$(FISHDIR) $(DESTDIR)$(MANDIR)

.PHONY: all build-cargo install install-paketkoll install-konfigkoll install-dirs $(PROGS)
.PHONY: all build-cargo test install install-paketkoll install-konfigkoll install-dirs $(PROGS)

0 comments on commit 872825a

Please sign in to comment.