flutter_desktop_markdown_reader
flutter_desktop_markdown_reader copied to clipboard
build flow
any chance you can put in a shell and Makfile script to help.
i build the embedded framework ok (very easy) , but dont know how to get your example app to use it.
FLUTTEREMBEDDIR=$(HOME)/workspace
FLUTTEREMBEDPATH=$(FLUTTEREMBEDDIR)/flutter-desktop-embedding
GITREPO=rxlabz
GITNAME=flutter_desktop_markdown_reader
check:
@echo FLUTTEREMBEDPATH : $(FLUTTEREMBEDPATH)
dep-os:
# we need flutter desktop
cd $(FLUTTEREMBEDDIR) && git clone [email protected]:google/flutter-desktop-embedding.git
dep-os-build:
# build macos framework
cd $(FLUTTEREMBEDPATH)/macos/library && xcodebuild -project FlutterEmbedderMac.xcodeproj
dep-os-clean:
rm -rf $(FLUTTEREMBEDPATH)
dep:
# get the example project
git clone [email protected]:$(GITREPO)/$(GITNAME).git
dep-clean:
rm -rf $(GITNAME)
upgrade:
cd $(GITNAME) && pub get
anal:
#cd rxdart/example/flutter/github_search && flutter analyze --preview-dart-2
cd $(GITNAME)/example_flutter && flutter analyze
run-web:
# comment out because there is no web version yet. Need to use MDC and some Dart framework to do web and share as much code as possible.
#cd $(GITNAME) && pub run build_runner serve
run-flu:
# desktop
cd $(GITNAME)/example_flutter && flutter packages get
cd $(GITNAME)/macos/example && open Mardown Reader.xcodeproj