mirror of
https://github.com/coder/coder.git
synced 2025-07-09 11:45:56 +00:00
Correct spelling of macOS (#3478)
* Correct spelling of macOS * fixup! Correct spelling of macOS * fixup! Correct spelling of macOS
This commit is contained in:
2
.github/workflows/coder.yaml
vendored
2
.github/workflows/coder.yaml
vendored
@ -36,7 +36,7 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: typos-action
|
- name: typos-action
|
||||||
uses: crate-ci/typos@v1.0.4
|
uses: crate-ci/typos@master
|
||||||
with:
|
with:
|
||||||
config: .github/workflows/typos.toml
|
config: .github/workflows/typos.toml
|
||||||
- name: Fix Helper
|
- name: Fix Helper
|
||||||
|
4
.github/workflows/release.yaml
vendored
4
.github/workflows/release.yaml
vendored
@ -187,10 +187,10 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
# The version of bash that MacOS ships with is too old
|
# The version of bash that macOS ships with is too old
|
||||||
brew install bash
|
brew install bash
|
||||||
|
|
||||||
# The version of make that MacOS ships with is too old
|
# The version of make that macOS ships with is too old
|
||||||
brew install make
|
brew install make
|
||||||
echo "$(brew --prefix)/opt/make/libexec/gnubin" >> $GITHUB_PATH
|
echo "$(brew --prefix)/opt/make/libexec/gnubin" >> $GITHUB_PATH
|
||||||
|
|
||||||
|
1
.github/workflows/typos.toml
vendored
1
.github/workflows/typos.toml
vendored
@ -2,6 +2,7 @@
|
|||||||
alog = "alog"
|
alog = "alog"
|
||||||
Jetbrains = "JetBrains"
|
Jetbrains = "JetBrains"
|
||||||
IST = "IST"
|
IST = "IST"
|
||||||
|
MacOS = "macOS"
|
||||||
|
|
||||||
[default.extend-words]
|
[default.extend-words]
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// This test runs slowly on MacOS instance, and really
|
// This test runs slowly on macOS instance, and really
|
||||||
// only needs to run on Linux anyways.
|
// only needs to run on Linux anyways.
|
||||||
//go:build linux
|
//go:build linux
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ resource "coder_app" "portainer" {
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
[code-server](https://github.com/coder/coder) is our supported method of running VS Code in the web browser. A simple way to install code-server in Linux/MacOS workspaces is via the Coder agent in your template:
|
[code-server](https://github.com/coder/coder) is our supported method of running VS Code in the web browser. A simple way to install code-server in Linux/macOS workspaces is via the Coder agent in your template:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# edit your template
|
# edit your template
|
||||||
|
@ -112,7 +112,7 @@ We publish self-contained .zip and .tar.gz archives in [GitHub releases](https:/
|
|||||||
1. Unzip the folder you just downloaded, and move the `coder` executable to a location that's on your `PATH`
|
1. Unzip the folder you just downloaded, and move the `coder` executable to a location that's on your `PATH`
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# ex. MacOS and Linux
|
# ex. macOS and Linux
|
||||||
mv coder /usr/local/bin
|
mv coder /usr/local/bin
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ Coder with Docker has the following advantages:
|
|||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
- A single MacOS or Linux box
|
- A single macOS or Linux box
|
||||||
- A running Docker daemon
|
- A running Docker daemon
|
||||||
|
|
||||||
## Instructions
|
## Instructions
|
||||||
|
@ -51,7 +51,7 @@ coder update <workspace-name>
|
|||||||
|
|
||||||
## Logging
|
## Logging
|
||||||
|
|
||||||
Coder stores MacOS and Linux logs at the following locations:
|
Coder stores macOS and Linux logs at the following locations:
|
||||||
|
|
||||||
| Service | Location |
|
| Service | Location |
|
||||||
| ---------------- | ------------------------------- |
|
| ---------------- | ------------------------------- |
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# dotfiles with Coder templates.
|
# dotfiles with Coder templates.
|
||||||
|
|
||||||
# The Docker aspect of the template only works
|
# The Docker aspect of the template only works
|
||||||
# with MacOS/Linux amd64 systems. See the full
|
# with macOS/Linux amd64 systems. See the full
|
||||||
# Docker example for details
|
# Docker example for details
|
||||||
|
|
||||||
terraform {
|
terraform {
|
||||||
|
@ -388,7 +388,7 @@ install_standalone() {
|
|||||||
echoh "Installing v$VERSION of the $ARCH release from GitHub."
|
echoh "Installing v$VERSION of the $ARCH release from GitHub."
|
||||||
echoh
|
echoh
|
||||||
|
|
||||||
# MacOS releases are packaged as .zip
|
# macOS releases are packaged as .zip
|
||||||
case $OS in
|
case $OS in
|
||||||
darwin) STANDALONE_ARCHIVE_FORMAT=zip ;;
|
darwin) STANDALONE_ARCHIVE_FORMAT=zip ;;
|
||||||
*) STANDALONE_ARCHIVE_FORMAT=tar.gz ;;
|
*) STANDALONE_ARCHIVE_FORMAT=tar.gz ;;
|
||||||
|
@ -30,7 +30,7 @@ func startPty(cmd *exec.Cmd) (PTY, Process, error) {
|
|||||||
_ = ptty.Close()
|
_ = ptty.Close()
|
||||||
_ = tty.Close()
|
_ = tty.Close()
|
||||||
if runtime.GOOS == "darwin" && strings.Contains(err.Error(), "bad file descriptor") {
|
if runtime.GOOS == "darwin" && strings.Contains(err.Error(), "bad file descriptor") {
|
||||||
// MacOS has an obscure issue where the PTY occasionally closes
|
// macOS has an obscure issue where the PTY occasionally closes
|
||||||
// before it's used. It's unknown why this is, but creating a new
|
// before it's used. It's unknown why this is, but creating a new
|
||||||
// TTY resolves it.
|
// TTY resolves it.
|
||||||
return startPty(cmd)
|
return startPty(cmd)
|
||||||
|
Reference in New Issue
Block a user