Update Makefile

Add cross-platform support for macos in Makefile.
This commit is contained in:
Caijinglong 2020-04-16 10:39:51 +08:00 committed by GitHub
parent fb799326dc
commit 84fc45fac0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -77,6 +77,9 @@ release-nodocker:
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 $(GOBUILD) -o /tmp/rtsp-simple-server
tar -C /tmp -czf $(PWD)/release/rtsp-simple-server_$(VERSION)_linux_arm64.tar.gz --owner=0 --group=0 rtsp-simple-server
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 $(GOBUILD) -o /tmp/rtsp-simple-server
tar -C /tmp -czf $(PWD)/release/rtsp-simple-server_$(VERSION)_darwin_amd64.tar.gz --owner=0 --group=0 rtsp-simple-server
travis-setup:
echo "FROM ruby:alpine \n\
RUN apk add --no-cache build-base git \n\