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 a new issue