cloudflare/cloudflare-typescript

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
3d2fc132d5e8a5c08805fa9b1df9c63e2db466eb

Branches

Tags

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

Clone

HTTPS

Download ZIP

scripts/bootstrap

18lines · modeblame

9ba55743stainless-app[bot]2 years ago1#!/usr/bin/env bash
2
3set -e
4
5cd "$(dirname "$0")/.."
6
82097794stainless-app[bot]1 years ago7if [ -f "Brewfile" ] && [ "$(uname -s)" = "Darwin" ] && [ "$SKIP_BREW" != "1" ]; then
88a16222stainless-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
9ba55743stainless-app[bot]2 years ago16PACKAGE_MANAGER=$(command -v yarn >/dev/null 2>&1 && echo "yarn" || echo "npm")
17
18$PACKAGE_MANAGER install