Merge branch 'soru/fix-too-many-sql-parameters' into 'master'

have gitlab CI auto-fetch the newest sql-wasm

See merge request ChristianPauly/fluffychat-flutter!109
This commit is contained in:
Christian Pauly 2020-07-19 07:01:18 +00:00
commit 338dbfdcea

View File

@ -32,6 +32,10 @@ build_web:
- cd assets/js/ && unzip olm.zip && cd ../../
- cd assets/js/ && rm olm.zip && cd ../../
- cd assets/js/ && mv javascript package && cd ../../
- cd web/ && rm sql-wasm.js sql-wasm.wasm && cd ../
- cd web/ && curl -L 'https://github.com/sql-js/sql.js/releases/latest/download/sqljs-wasm.zip' > sqljs-wasm.zip && cd ../
- cd web/ && unzip sqljs-wasm.zip && cd ../
- cd web/ && rm sqljs-wasm.zip && cd ../
- flutter pub get
- flutter clean
- flutter build web --release --verbose --dart-define=FLUTTER_WEB_USE_SKIA=true