Skip to content

Commit

Permalink
Support Flutter Web (#5)
Browse files Browse the repository at this point in the history
- make Flutter Jason API platform agnostic
- implement Flutter bindings for WASM Jason
- add web implementation for Flutter Jason platform agnostic API
  • Loading branch information
evdokimovs committed Oct 14, 2021
1 parent 1b0b3f2 commit 4e7d81f
Show file tree
Hide file tree
Showing 88 changed files with 5,737 additions and 754 deletions.
119 changes: 59 additions & 60 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 15 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,19 @@ flutter.run:
$(if $(call eq,$(device),),,-d $(device))


# Generates assets required for Flutter Web Jason plugin.
#
# Usage:
# make flutter.web.assets

flutter.web.assets:
@rm -rf flutter/assets/pkg
wasm-pack build -d flutter/assets/pkg --no-typescript -t web
rm -rf flutter/assets/pkg/*.md \
flutter/assets/pkg/.gitignore \
flutter/assets/pkg/package.json




#################
Expand Down Expand Up @@ -1137,9 +1150,10 @@ endef
docker.up.medea docker.up.webdriver \
docs docs.rust \
down down.control down.coturn down.demo down.dev down.medea \
flutter flutter.fmt flutter.lint flutter.run flutter.test \
flutter flutter.fmt flutter.lint flutter.run \
flutter.android.compile_api_version \
flutter.android.min_api_version \
flutter.web.assets \
helm helm.dir helm.down helm.lint helm.list \
helm.package helm.package.release helm.up \
minikube.boot \
Expand Down
4 changes: 0 additions & 4 deletions e2e-demo/.editorconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
[*.js]
indent_style = space
indent_size = 2

[*.html]
indent_style = space
indent_size = 2
Empty file added flutter/assets/.gitkeep
Empty file.
Loading

0 comments on commit 4e7d81f

Please sign in to comment.