Skip to content

Commit

Permalink
fix(JohnnyMorganz/StyLua): regenerate the setting (#29614)
Browse files Browse the repository at this point in the history
* feat(JohnnyMorganz/StyLua): scaffold JohnnyMorganz/StyLua

* refactor(JohnnyMorganz/StyLua): remove arm64 replacement
  • Loading branch information
suzuki-shunsuke authored Dec 5, 2024
1 parent 488b948 commit d36ae2a
Show file tree
Hide file tree
Showing 3 changed files with 82 additions and 66 deletions.
8 changes: 4 additions & 4 deletions pkgs/JohnnyMorganz/StyLua/pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
packages:
- name: JohnnyMorganz/[email protected]
- name: JohnnyMorganz/StyLua
version: v0.15.0
version: v0.19.1
- name: JohnnyMorganz/StyLua
version: v0.14.0
version: v0.14.3
- name: JohnnyMorganz/StyLua
version: v0.13.0
version: v0.13.1
- name: JohnnyMorganz/StyLua
version: v0.1.0-alpha
version: v0.12.5
70 changes: 39 additions & 31 deletions pkgs/JohnnyMorganz/StyLua/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,56 +2,64 @@ packages:
- type: github_release
repo_owner: JohnnyMorganz
repo_name: StyLua
description: An opinionated Lua code formatter
asset: stylua-{{.OS}}-{{.Arch}}.{{.Format}}
format: zip
overrides:
- goos: windows
replacements:
arm64: arm64
replacements:
amd64: x86_64
arm64: aarch64
darwin: macos
supported_envs:
- darwin
- linux
- amd64
description: A Lua code formatter
files:
- name: stylua
version_constraint: semver(">= 0.15.0")
version_constraint: "false"
version_overrides:
- version_constraint: semver(">= 0.14.0")
asset: stylua-{{.OS}}.{{.Format}}
overrides:
- goos: darwin
goarch: arm64
asset: stylua-{{.OS}}-{{.Arch}}.{{.Format}}
replacements:
arm64: aarch64
- version_constraint: semver("<= 0.12.5")
asset: stylua-{{trimV .Version}}-{{.OS}}.{{.Format}}
format: zip
replacements:
darwin: macos
windows: win64
supported_envs:
- darwin
- windows
- amd64
- version_constraint: semver(">= 0.13.0")
- version_constraint: semver("<= 0.13.1")
asset: stylua-{{.OS}}.{{.Format}}
overrides: []
format: zip
replacements:
darwin: macos
windows: win64
supported_envs:
- darwin
- windows
- amd64
rosetta2: true
- version_constraint: semver("< 0.13.0")
asset: stylua-{{trimV .Version}}-{{.OS}}.{{.Format}}
overrides: []
- version_constraint: semver("<= 0.14.3")
asset: stylua-{{.OS}}.{{.Format}}
format: zip
replacements:
darwin: macos
windows: win64
overrides:
- goos: darwin
goarch: arm64
asset: stylua-{{.OS}}-{{.Arch}}.{{.Format}}
replacements:
arm64: aarch64
supported_envs:
- darwin
- windows
- amd64
rosetta2: true
- version_constraint: semver("<= 0.19.1")
asset: stylua-{{.OS}}-{{.Arch}}.{{.Format}}
format: zip
windows_arm_emulation: true
replacements:
amd64: x86_64
arm64: aarch64
darwin: macos
- version_constraint: "true"
asset: stylua-{{.OS}}-{{.Arch}}.{{.Format}}
format: zip
windows_arm_emulation: true
replacements:
amd64: x86_64
arm64: aarch64
darwin: macos
overrides:
- goos: linux
goarch: amd64
asset: stylua-{{.OS}}-{{.Arch}}-musl.{{.Format}}
70 changes: 39 additions & 31 deletions registry.yaml

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

0 comments on commit d36ae2a

Please sign in to comment.