Merge pull request #4 from CaiJingLong/patch-1

Add cross-platform support for macos
This commit is contained in:
aler9 2020-04-16 09:45:21 +02:00 committed by GitHub
commit 60275364a7
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\