Skip to content

Commit 25aaae3

Browse files
committed
Move FUNDING.yml to .github directory
1 parent bfadbc7 commit 25aaae3

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed
File renamed without changes.

build.sh

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/bin/bash
22
build_tags=""
33

44
if [[ $(arch) == "arm64" && -z "$LIBRARY_PATH" && -d /opt/homebrew ]]; then
@@ -11,10 +11,7 @@ else
1111
fi
1212

1313
if [[ -f "$HEIF_PATH/libheif.1.dylib" ]]; then
14-
echo "libheif found in $HEIF_PATH, compiling with heif support"
1514
build_tags="libheif"
16-
else
17-
echo "libheif not found in $HEIF_PATH, compiling without heif support"
1815
fi
1916

20-
go build -tags "$build_tags" -ldflags "-X main.Tag=$(git describe --exact-match --tags 2>/dev/null) -X main.Commit=$(git rev-parse HEAD) -X 'main.BuildTime=`date '+%b %_d %Y, %H:%M:%S'`'"
17+
go build -tags "$build_tags" -ldflags "-X main.Tag=$(git describe --exact-match --tags 2>/dev/null) -X main.Commit=$(git rev-parse HEAD) -X 'main.BuildTime=`date '+%b %_d %Y, %H:%M:%S'`'" "$@"

0 commit comments

Comments
 (0)