flutter_cast_framework_modern/Makefile
gianlucaparadise 0cbf1d911e Published docs
2022-01-03 14:25:06 +01:00

25 lines
No EOL
742 B
Makefile
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

.PHONY: pigeon deploy-receiver open-android open-ios run-all
pigeon: # Generates the typesafe bridge between host and flutter
flutter pub run pigeon \
--input pigeon/PlatformBridgeApisDefinition.dart \
--dart_out lib/src/PlatformBridgeApis.dart \
--objc_header_out ios/Classes/PlatformBridgeApis.h \
--objc_source_out ios/Classes/PlatformBridgeApis.m \
--java_out ./android/src/main/java/com/gianlucaparadise/flutter_cast_framework/PlatformBridgeApis.java \
--java_package "com.gianlucaparadise.flutter_cast_framework"
deploy-receiver:
surge receiver
open-android:
studio example/android
open-ios:
open example/ios/Runner.xcworkspace
run-all:
cd example && flutter run -d all
docs:
flutter pub run dartdoc --output docs/api