Skip to content

Commit 74c870c

Browse files
committed
clean
1 parent f2c18d8 commit 74c870c

2 files changed

Lines changed: 18 additions & 18 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Makefile

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -13,24 +13,24 @@ ifeq ($(shell uname),Darwin)
1313
@echo "Setting up shellcheck (macOS)..."
1414
brew install shellcheck
1515
else ifeq ($(shell uname -s),Linux)
16-
ifeq ($(shell uname -m),x86_64)
17-
@echo "Setting up shfmt for amd64 (Linux)..."
18-
SHFMT_BIN="shfmt_${SHFMT_VERSION}_linux_amd64"
19-
else ifeq ($(shell uname -m),aarch64)
20-
@echo "Setting up shfmt for arm64 (Linux)..."
21-
SHFMT_BIN="shfmt_${SHFMT_VERSION}_linux_arm64"
22-
else
23-
@echo "Unsupported architecture $(shell uname -m)! Update this Makefile!"
24-
exit 1
25-
endif
26-
wget -qO shfmt "https://github.com/mvdan/sh/releases/download/${SHFMT_VERSION}/${SHFMT_BIN}"
27-
chmod +x shfmt
28-
sudo mv shfmt /usr/local/bin/shfmt
29-
@echo "Setting up shellcheck (Linux)..."
30-
sudo apt-get install shellcheck || sudo yum install shellcheck || sudo dnf install shellcheck
16+
ifeq ($(shell uname -m),x86_64)
17+
@echo "Setting up shfmt for amd64 (Linux)..."
18+
SHFMT_BIN="shfmt_${SHFMT_VERSION}_linux_amd64"
19+
else ifeq ($(shell uname -m),aarch64)
20+
@echo "Setting up shfmt for arm64 (Linux)..."
21+
SHFMT_BIN="shfmt_${SHFMT_VERSION}_linux_arm64"
22+
else
23+
@echo "Unsupported architecture $(shell uname -m)! Update this Makefile!"
24+
exit 1
25+
endif
26+
wget -qO shfmt "https://github.com/mvdan/sh/releases/download/${SHFMT_VERSION}/${SHFMT_BIN}"
27+
chmod +x shfmt
28+
sudo mv shfmt /usr/local/bin/shfmt
29+
@echo "Setting up shellcheck (Linux)..."
30+
sudo apt-get install shellcheck || sudo yum install shellcheck || sudo dnf install shellcheck
3131
else
32-
@echo "Unsupported operating system! Update this Makefile or use macOS/Linux."
33-
exit 1
32+
@echo "Unsupported operating system! Update this Makefile or use macOS/Linux."
33+
exit 1
3434
endif
3535

3636
.PHONY: reqtxt

0 commit comments

Comments
 (0)