mirror of
https://github.com/Threnklyn/jira.git
synced 2026-06-04 20:19:11 +02:00
fix _t/test_binaries.sh to work on Linux + MacOS
This commit is contained in:
+1
-1
@@ -13,7 +13,7 @@ function error() {
|
||||
DIST_DIR="dist/github.com/go-jira"
|
||||
|
||||
out=`file ${DIST_DIR}/jira-darwin-amd64 2>&1`
|
||||
if ! [[ "$out" =~ "Mach-O 64-bit executable x86_64" ]]; then
|
||||
if ! [[ "$out" =~ "Mach-O 64-bit" ]]; then
|
||||
error "darwin/amd64 build not as expected: $out"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user