From 53332964fa639b7175c8806a7355d421d0f1f3ea Mon Sep 17 00:00:00 2001 From: Dirk Pahl Date: Mon, 29 Feb 2016 15:19:44 +0100 Subject: [PATCH] Create a FreeBSD build --- scripts/build.py | 4 +++- scripts/circle-test.sh | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/build.py b/scripts/build.py index df8fbb979..0f3007cfa 100755 --- a/scripts/build.py +++ b/scripts/build.py @@ -72,12 +72,14 @@ targets = { supported_builds = { 'darwin': [ "amd64", "i386" ], 'windows': [ "amd64", "i386" ], - 'linux': [ "amd64", "i386", "arm" ] + 'linux': [ "amd64", "i386", "arm" ], + 'freebsd': [ "amd64" ] } supported_packages = { "darwin": [ "tar", "zip" ], "linux": [ "deb", "rpm", "tar", "zip" ], "windows": [ "zip" ], + 'freebsd': [ "tar" ] } supported_tags = { # "linux": { diff --git a/scripts/circle-test.sh b/scripts/circle-test.sh index 91511b050..9a3e0e678 100755 --- a/scripts/circle-test.sh +++ b/scripts/circle-test.sh @@ -77,5 +77,6 @@ if [ $? -eq 0 ]; then echo $tag exit_if_fail ./scripts/build.py --package --version=$tag --platform=linux --arch=all --upload exit_if_fail ./scripts/build.py --package --version=$tag --platform=windows --arch=all --upload + exit_if_fail ./scripts/build.py --package --version=$tag --platform=freebsd --arch=all --upload mv build $CIRCLE_ARTIFACTS fi