1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-01-02 23:47:07 -05:00

openbsd release

This commit is contained in:
Darien Raymond 2016-10-17 14:41:54 +02:00
parent 5a311cbe08
commit 67d597af95
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
3 changed files with 9 additions and 1 deletions

View File

@ -33,6 +33,8 @@ deploy:
- "$GOPATH/bin/v2ray-linux-mips64.zip"
- "$GOPATH/bin/v2ray-freebsd-64.zip"
- "$GOPATH/bin/v2ray-freebsd-32.zip"
- "$GOPATH/bin/v2ray-openbsd-64.zip"
- "$GOPATH/bin/v2ray-openbsd-32.zip"
- "$GOPATH/bin/metadata.txt"
skip_cleanup: true
on:

View File

@ -11,6 +11,7 @@ const (
MacOS = GoOS("darwin")
Linux = GoOS("linux")
FreeBSD = GoOS("freebsd")
OpenBSD = GoOS("openbsd")
UnknownOS = GoOS("unknown")
)
@ -39,6 +40,9 @@ func parseOS(rawOS string) GoOS {
if osStr == "freebsd" {
return FreeBSD
}
if osStr == "openbsd" {
return OpenBSD
}
return UnknownOS
}

View File

@ -12,3 +12,5 @@ $GOPATH/bin/build --os=linux --arch=arm64 --zip
$GOPATH/bin/build --os=linux --arch=mips64 --zip
$GOPATH/bin/build --os=freebsd --arch=x86 --zip
$GOPATH/bin/build --os=freebsd --arch=amd64 --zip
$GOPATH/bin/build --os=openbsd --arch=amd64 --zip
$GOPATH/bin/build --os=openbsd --arch=amd64 --zip