mirror of
https://github.com/Threnklyn/jira.git
synced 2026-06-07 13:33:32 +02:00
fix _t/test_binaries.sh to work on Linux + MacOS
This commit is contained in:
committed by
Cory Bennett
parent
435747f152
commit
2062dffc60
+1
-1
@@ -13,7 +13,7 @@ function error() {
|
|||||||
DIST_DIR="dist/github.com/go-jira"
|
DIST_DIR="dist/github.com/go-jira"
|
||||||
|
|
||||||
out=`file ${DIST_DIR}/jira-darwin-amd64 2>&1`
|
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"
|
error "darwin/amd64 build not as expected: $out"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user