Skip to content

Commit

Permalink
Fix naming of prebuilt binaries. Add macOS arm64 prebuild.
Browse files Browse the repository at this point in the history
  • Loading branch information
jyaif committed Apr 21, 2022
1 parent 425ca35 commit cea1716
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ You can also take a look at [the code of levels] that have been released.
## Building the server

If you don't want (or can't) use one of the prebuilt binaries, you can build the binaries yourself.
The only requirement is to have golang 1.14 installed on your system.
The only requirement is to have golang 1.14 or newer installed on your system.
After obtaining the source code, build with `go build`.

[Download a prebuilt archive]: https://github.com/jyaif/ppl-utils/tags
Expand Down
13 changes: 7 additions & 6 deletions generate_archives.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
#!/usr/bin/python
#!/usr/bin/python3

# This file generates the prebuilt binaries.

import os
import platform
import shutil

configs = [{'env':{'GOOS':'windows', 'GOARCH':'amd64'}, 'name':'windows-x64'},
{'env':{'GOOS':'windows', 'GOARCH':'386'}, 'name':'windows-x32'},
{'env':{'GOOS':'darwin', 'GOARCH':'amd64'}, 'name':'macos-x64'},
{'env':{'GOOS':'linux', 'GOARCH':'amd64'}, 'name':'linux-x64'},
{'env':{'GOOS':'linux', 'GOARCH':'386'}, 'name':'linux-x32'},
configs = [{'env':{'GOOS':'windows', 'GOARCH':'amd64'}, 'name':'windows-x86_64'},
{'env':{'GOOS':'windows', 'GOARCH':'386'}, 'name':'windows-x86'},
{'env':{'GOOS':'darwin', 'GOARCH':'amd64'}, 'name':'macos-x86_64'},
{'env':{'GOOS':'darwin', 'GOARCH':'arm64'}, 'name':'macos-arm64'},
{'env':{'GOOS':'linux', 'GOARCH':'amd64'}, 'name':'linux-x86_64'},
{'env':{'GOOS':'linux', 'GOARCH':'386'}, 'name':'linux-x86'},
{'env':{'GOOS':'linux', 'GOARCH':'arm64'}, 'name':'linux-arm64'},
{'env':{'GOOS':'linux', 'GOARCH':'arm'}, 'name':'linux-arm'}]

Expand Down

0 comments on commit cea1716

Please sign in to comment.