Skip to content
This repository was archived by the owner on Mar 23, 2021. It is now read-only.

Commit 8b1b7ba

Browse files
Correctly list all targets as .PHONY targets in Makefile
1 parent 6b13fb1 commit 8b1b7ba

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ INSTALLED_COMPONENTS = $(shell $(RUSTUP) component list --installed --toolchain
1414
INSTALLED_NIGHTLY_COMPONENTS = $(shell $(RUSTUP) component list --installed --toolchain $(NIGHTLY_TOOLCHAIN))
1515
AVAILABLE_CARGO_COMMANDS = $(shell $(CARGO) --list)
1616

17+
# All our targets go into .PHONY because none of them actually create files
18+
.PHONY: init_git_hooks default install_rust install_rust_nightly install_clippy install_rustfmt install_tomlfmt install clean all ci build clippy test doc e2e check_format format check_rust_format check_toml_format check_ts_format
19+
1720
default: init_git_hooks build format
1821

1922
init_git_hooks:

0 commit comments

Comments
 (0)