Skip to content

Commit

Permalink
Update pyporject to support installing on M1 machines
Browse files Browse the repository at this point in the history
The format is a bit different for macOS arm64 from the others in that
it's the only one specifying an arch. As a result, any x86_64 archs are
mapped to an empty string and the arm64 one has a prefixed `-` to
separate it from the system.
  • Loading branch information
IamTheFij committed Aug 31, 2022
1 parent 52a51ce commit 2c87375
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@ build-backend = "pseudo_builder"

[tool.release-gitter]
extract-files = ["stylua"]
format = "stylua-{system}.zip"
format = "stylua-{system}{arch}.zip"
exec = "chmod +x stylua"
[tool.release-gitter.map-arch]
x86_64 = ""
arm64 = "-aarch64"
[tool.release-gitter.map-system]
Darwin = "macos"
Windows = "win64"
Expand Down

0 comments on commit 2c87375

Please sign in to comment.