mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-12-24 22:42:33 +01:00
have gitlab CI auto-fetch the newest sql-wasm
This commit is contained in:
parent
6263867811
commit
dede28bfde
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user