flutter_cast_framework_modern/Makefile
gianlucaparadise 8a4cbd9880 Fix docs folder
2023-01-03 11:12:35 +01:00

25 lines
No EOL
935 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: # Generate 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: # Deploy the example receiver
surge receiver
open-android: # Open Android Studio with the correct project configuration
studio example/android
open-ios: # Open XCode with the correct project configuration
open example/ios/Runner.xcworkspace
run-all: # Run on all devices
cd example && flutter run -d all
docs: # Generate documentation
flutter pub run dartdoc --output docs/api