azure-storage-fuse/build.sh

19 строки
445 B
Bash
Executable File

#!/bin/bash
echo "Using Go - $(go version)"
if [ "$1" == "fuse2" ]
then
# Build blobfuse2 with fuse2
rm -rf blobfuse2
rm -rf azure-storage-fuse
go build -tags fuse2 -o blobfuse2
elif [ "$1" == "health" ]
then
# Build Health Monitor binary
rm -rf bfusemon
go build -o bfusemon ./tools/health-monitor/
else
# Build blobfuse2 with fuse3
rm -rf blobfuse2
rm -rf azure-storage-fuse
go build -o blobfuse2
fi