代码拉取完成,页面将自动刷新
.PHONY: protobuf setup format test lint autocorrect clean build release
APP="Soapbox"
WEBRTC="WebRTC-M90.xcframework.zip"
# Apple
ifeq ($(shell uname),Darwin)
PLATFORM=apple
XCPRETTY_STATUS=$(shell xcpretty -v &>/dev/null; echo $$?)
ifeq ($(XCPRETTY_STATUS),0)
XCPRETTY=xcpretty
else
XCPRETTY=cat
endif
endif
install_deps:
rm -rf WebRTC.xcframework
curl https://github.com/stasel/WebRTC/releases/download/90.0.0/$(WEBRTC) -O -J -L
unzip WebRTC-M90.xcframework.zip
rm -rf $(WEBRTC)
setup: install_deps
tuist generate -P
clean:
rm -rf .build $(APP).xcodeproj $(APP).xcworkspace Package.pins Pods
release: clean setup
fastlane release
test: clean setup install_deps
set -o pipefail && swift test | $(XCPRETTY)
build: clean setup install_deps
set -o pipefail && swift build | $(XCPRETTY)
lint:
swiftlint
autocorrect:
swiftlint autocorrect
linuxmain:
swift test --generate-linuxmain
format:
swiftformat .
protobuf:
ifdef BRANCH
buf generate https://github.com/soapboxsocial/protobufs.git#branch=$(BRANCH) --path soapbox/v1/room.proto --path soapbox/v1/signal.proto
else
buf generate https://github.com/soapboxsocial/protobufs.git --path soapbox/v1/room.proto --path soapbox/v1/signal.proto
endif
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。