cloudflare/cloudflare-typescript

Public

mirrored from https://github.com/cloudflare/cloudflare-typescriptAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
jhutchings1-patch-1

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

scripts/bootstrap

18lines · modeblame

dbae3674stainless-app[bot]2 years ago1#!/usr/bin/env bash
2
3set -e
4
5cd "$(dirname "$0")/.."
6
f2ce1b43stainless-app[bot]1 years ago7if [ -f "Brewfile" ] && [ "$(uname -s)" = "Darwin" ] && [ "$SKIP_BREW" != "1" ]; then
ce41a479stainless-app[bot]2 years ago8brew bundle check >/dev/null 2>&1 || {
9echo "==> Installing Homebrew dependencies…"
10brew bundle
11}
12fi
13
14echo "==> Installing Node dependencies…"
15
dbae3674stainless-app[bot]2 years ago16PACKAGE_MANAGER=$(command -v yarn >/dev/null 2>&1 && echo "yarn" || echo "npm")
17
18$PACKAGE_MANAGER install