Merge pull request #4 from sam2kb/patch-1

Create ./dev/opt directory
This commit is contained in:
UnnoTed 2021-09-02 16:42:04 +02:00 committed by GitHub
commit e381282804
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
echo "wireguird: cleaning..."
rm -r ./build/wireguird_amd64.deb
rm -r ./deb/opt/wireguird/
mkdir ./deb/opt/wireguird
mkdir -p ./deb/opt/wireguird
echo "wireguird: building go binary..."
go build -ldflags "-s -w" -trimpath -o ./deb/opt/wireguird/wireguird