have gitlab CI auto-fetch the newest sql-wasm

This commit is contained in:
Sorunome 2020-07-18 17:07:46 +02:00
parent 6263867811
commit dede28bfde
No known key found for this signature in database
GPG Key ID: B19471D07FC9BE9C

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