Skip to content

Commit

Permalink
Merge pull request #5691 from kei711/feat/google/yamlfmt
Browse files Browse the repository at this point in the history
feat: add google/yamlfmt
  • Loading branch information
suzuki-shunsuke committed Aug 22, 2022
2 parents ac33578 + fa8f4a5 commit ded17d7
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/google/yamlfmt/pkg.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
packages:
- name: google/yamlfmt@v0.1.0
19 changes: 19 additions & 0 deletions pkgs/google/yamlfmt/registry.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
packages:
- type: github_release
repo_owner: google
repo_name: yamlfmt
asset: yamlfmt_{{trimV .Version}}_{{.OS}}_{{.Arch}}.tar.gz
description: An extensible command line tool or library to format yaml files
replacements:
amd64: x86_64
darwin: Darwin
linux: Linux
windows: Windows
checksum:
type: github_release
asset: checksums.txt
file_format: regexp
algorithm: sha256
pattern:
checksum: "^(\\b[A-Fa-f0-9]{64}\\b)"
file: "^\\b[A-Fa-f0-9]{64}\\b\\s+(\\S+)$"
18 changes: 18 additions & 0 deletions registry.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ded17d7

Please sign in to comment.