leeway

(★ 181)

Leeway is a heavily caching build system for Go, Typescript and Docker projects.

파일 탐색기

  • .gitignore
  • .goreleaser.yaml
  • BUILD.yaml
  • codecov.yml
  • go.mod
  • go.sum
  • LICENSE
  • logo.png
  • main.go
  • README.md
  • WORKSPACE.yaml

# CDN으로 사용하기

jsDelivr

jsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.

명령어 용어집

이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.

🔍

AWS

설명 보기 ▼

Amazon Web Services의 공식 CLI tool입니다.
`s3`와 같은 일부 하위 명령에는 자체 사용 설명서가 있습니다.
더 많은 정보: <https://docs.aws.amazon.com/cli/latest/reference/>.

aws configure wizard

AWS Command-line 설정:

aws configure sso

SSO를 사용해 AWS Command-line 설정:

aws sts get-caller-identity

호출자 ID 가져오기 (권한 문제 해결에 사용됨):

🔍

brew install

설명 보기 ▼

Install a Homebrew formula or cask.

brew install {{formula|cask}}

Install a formula/cask:

brew install {{[-s|--build-from-source]}} {{formula}}

Build and install a formula from source (dependencies will still be installed from bottles):

brew install {{[-n|--dry-run]}} {{formula|cask}}

Download the manifest, print what would be installed but don't actually install anything:

🔍

docker buildx create

설명 보기 ▼

Create a new builder instance.

docker buildx create

Create a new builder instance using the default Docker context:

docker buildx create --name {{builder_name}}

Create a new builder instance with a specific name:

docker buildx create --name {{builder_name}} --use

Create a new builder instance and immediately set it as the current active builder:

🔍

docker load

설명 보기 ▼

This command is an alias of `docker image load`.

tldr docker image load

View documentation for the original command:

🔍

docker save

설명 보기 ▼

This command is an alias of `docker image save`.

tldr docker image save

View documentation for the original command:

🔍

docker

설명 보기 ▼

Docker 컨테이너 및 이미지를 관리.
`run`과 같은 일부 하위 명령에는 자체 사용 설명서가 있습니다.
더 많은 정보: <https://docs.docker.com/reference/cli/docker/>.

docker {{[ps|container ls]}} {{[-a|--all]}}

모든 도커 컨테이너들(실행 및 중지) 목록 보기:

docker {{[run|container run]}} --name {{container_name}} {{image}}

사용자 정의 이름으로 이미지로부터 컨테이너 실행:

docker container {{start|stop}} {{container_name}}

기존 컨테이너 시작 또는 중지:

🔍

git push

설명 보기 ▼

Push commits to a remote repository.

git push

Send local changes in the current branch to its default remote counterpart:

git push {{remote_name}} {{local_branch}}

Send changes from a specific local branch to its remote counterpart:

git push {{[-u|--set-upstream]}} {{remote_name}} {{local_branch}}

Send changes from a specific local branch to its remote counterpart, and set the remote one as the default push/pull target of the local one:

🔍

git tag

설명 보기 ▼

Create, list, delete, or verify tags.
A tag is a static reference to a commit.

git tag

List all tags:

git tag {{tag_name}}

Create a tag with the given name pointing to the current commit:

git tag {{tag_name}} {{commit}}

Create a tag with the given name pointing to a given commit:

🔍

go build

설명 보기 ▼

Compile Go sources.

go build {{path/to/main.go}}

Compile a 'package main' file (output will be the filename without extension):

go build -o {{path/to/binary}} {{path/to/source.go}}

Compile, specifying the output filename:

go build -o {{path/to/binary}} {{path/to/package}}

Compile a package:

🔍

go fmt

설명 보기 ▼

Format Go source files, printing the changed filenames.
Note: `./...` is a Go package pattern understood by Go tooling. It matches the current package and all packages recursively under the current directory.

go fmt

Format Go source files in the current directory:

go fmt {{path/to/package}}

Format a specific Go package in your import path (`$GOPATH/src`):

go fmt {{./...}}

Format the package in the current directory and all subdirectories (note the `...`):

🔍

go generate

설명 보기 ▼

Generate Go files by running commands within source files.

go generate

Generate Go files by running commands within source files:

🔍

go test

설명 보기 ▼

Test Go packages (files have to end with `_test.go`).
Note: `./...` is a Go package pattern understood by Go tooling. It matches the current package and all packages recursively under the current directory.

go test

Test the package found in the current directory:

go test -v

[v]erbosely test the package in the current directory:

go test -v ./...

Test the packages in the current directory and all subdirectories:

🔍

go version

설명 보기 ▼

Display Go version.

go version

Display version:

go version {{path/to/executable}}

Display the Go version used to build a specific executable file:

🔍

yarn

설명 보기 ▼

JavaScript 및 Node.js 패키지 대체 관리자.
더 많은 정보: <https://yarnpkg.com/cli>.

yarn global add {{module_name}}

전역적으로 모듈 설치:

yarn install

`package.json` 파일에 참조된 모든 의존성을 설치 ( `install`은 선택 사항입니다):

yarn add {{module_name}}@{{version}}

모듈을 설치하고 `package.json` 파일에 대한 의존성으로 저장 (개발 전용 의존성으로 추가하려면 `--dev` 추가):

🔍

GCP

설명 보기 ▼

이 명령은 `cp`의 별칭입니다.

tldr cp

자세한 내용은 원본 명령을 참고하세요:

// repository documentation