Skip to content

Commit 8ca19eb

Browse files
remove git dependency
1 parent e075390 commit 8ca19eb

1 file changed

Lines changed: 6 additions & 14 deletions

File tree

bootstrap.sh

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -44,28 +44,20 @@ detect_platform_arch() {
4444
echo "${platform}-${architecture}"
4545
}
4646

47-
echo "Checking for Git..."
48-
if ! command -v git &>/dev/null; then
49-
echo "Git not found, please install Git and try again."
50-
exit 1
51-
else
52-
echo "Git found: $(git --version)"
53-
fi
54-
5547
if [[ -d "$HOME/.zircon" ]]; then
5648
echo "Removing existing ~/.zircon directory to allow for a fresh install..."
5749
rm -rf "$HOME/.zircon"
5850
fi
5951

6052

6153

62-
echo "Checking for prebuilt zircon binary..."
54+
echo "Checking for prebuilt zircon binary..."
6355

64-
# Detect platform and architecture
65-
if ! platform_arch=$(detect_platform_arch); then
66-
echo "Could not detect platform/architecture"
67-
exit 1
68-
fi
56+
# Detect platform and architecture
57+
if ! platform_arch=$(detect_platform_arch); then
58+
echo "Could not detect platform/architecture"
59+
exit 1
60+
fi
6961

7062
filename="zircon-${platform_arch}.tar.gz"
7163
url="https://github.com/zirco-lang/zircon/releases/download/${ZIRCON_REF}/${filename}"

0 commit comments

Comments
 (0)