leeway
Leeway is a heavily caching build system for Go, Typescript and Docker projects.
파일 탐색기
- devcontainer.json
- Dockerfile
- pre-commit
- ci-build.yaml
- integration-tests.yaml
- release.yaml
- automations.yaml
- launch.json
- settings.json
- bashCompletion.go
- build.go
- build_test.go
- collect.go
- describe-changed.go
- describe-const.go
- describe-dependants.go
- describe-dependencies.go
- describe-environment-manifest.go
- describe-gitinfo.go
- describe-manifest.go
- describe-script.go
- describe-tree.go
- describe.go
- exec.go
- experimental-mount.go
- experimental-unmount.go
- export.go
- fmt.go
- init.go
- link.go
- plumbing-exec.go
- plumbing.go
- provenance-assert.go
- provenance-export.go
- provenance.go
- root.go
- run.go
- sbom-export.go
- sbom-scan.go
- sbom.go
- sign-cache.go
- sign-cache_test.go
- version.go
- vet.go
- observability.md
- doublestar.go
- doublestar_test.go
- fs.go
- fs_test.go
- gsutil.go
- no_cache.go
- no_cache_test.go
- s3.go
- s3_config_test.go
- s3_download_test.go
- s3_performance_test.go
- s3_provenance_test.go
- s3_resilience_test.go
- s3_slsa_test.go
- s3_test.go
- mock_verifier.go
- README.md
- verifier.go
- verifier_test.go
- mock.go
- types.go
- load-workspace.yaml
- attestation.go
- attestation_test.go
- errors.go
- errors_test.go
- rekor.go
- rekor_test.go
- upload.go
- upload_test.go
- tracer.go
- tracer_test.go
- build.go
- build_checksum_test.go
- build_darwin.go
- build_integration_test.go
- build_internal_test.go
- build_linux.go
- build_oci_test.go
- build_sort_test.go
- build_test.go
- build_validate_deps_test.go
- compression.go
- compression_test.go
- container_image.go
- export.go
- format.go
- format_test.go
- gitinfo.go
- gitinfo_test.go
- gotest_trace.go
- gotest_trace_test.go
- package.go
- package_test.go
- provenance.go
- provenance_test.go
- reporter.go
- reporter_otel_phase_test.go
- reporter_otel_test.go
- reporter_test.go
- sbom-scan.go
- sbom.go
- sbom_normalize_test.go
- sbom_scan_test.go
- sbom_test.go
- scripts.go
- scripts_test.go
- version.go
- watcher.go
- workspace.go
- workspace_test.go
- golang.go
- yarn.go
- prettyprint.go
- access.go
- assert.go
- testutil.go
- testutil_test.go
- components.go
- docker.go
- docker_test.go
- generic.go
- golang.go
- packages.go
- vet.go
- yarn.go
- .gitignore
- .goreleaser.yaml
- BUILD.yaml
- codecov.yml
- go.mod
- go.sum
- LICENSE
- logo.png
- main.go
- README.md
- WORKSPACE.yaml
# CDN으로 사용하기
jsDelivrjsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.
명령어 용어집
이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.
AWS
설명 보기 ▼
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
설명 보기 ▼
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
설명 보기 ▼
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
설명 보기 ▼
docker load
This command is an alias of `docker image load`.
tldr docker image load
View documentation for the original command:
docker save
설명 보기 ▼
docker save
This command is an alias of `docker image save`.
tldr docker image save
View documentation for the original command:
docker
설명 보기 ▼
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
설명 보기 ▼
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
설명 보기 ▼
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
설명 보기 ▼
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
설명 보기 ▼
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
설명 보기 ▼
go generate
Generate Go files by running commands within source files.
go generate
Generate Go files by running commands within source files:
go test
설명 보기 ▼
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
설명 보기 ▼
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
설명 보기 ▼
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
설명 보기 ▼
GCP
이 명령은 `cp`의 별칭입니다.
tldr cp
자세한 내용은 원본 명령을 참고하세요:
