Skip to content

Commit 2c87375

Browse files
committed
Update pyporject to support installing on M1 machines
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.
1 parent 52a51ce commit 2c87375

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@ build-backend = "pseudo_builder"
44

55
[tool.release-gitter]
66
extract-files = ["stylua"]
7-
format = "stylua-{system}.zip"
7+
format = "stylua-{system}{arch}.zip"
88
exec = "chmod +x stylua"
9+
[tool.release-gitter.map-arch]
10+
x86_64 = ""
11+
arm64 = "-aarch64"
912
[tool.release-gitter.map-system]
1013
Darwin = "macos"
1114
Windows = "win64"

0 commit comments

Comments
 (0)