mirror of
https://github.com/immich-app/drift.git
synced 2026-09-30 13:22:57 +08:00
Fix build script
This commit is contained in:
@@ -27,15 +27,14 @@ jobs:
|
||||
with:
|
||||
flutter_version: ${{ needs.setup.outputs.flutter_version }}
|
||||
- name: Bootstrap Dart packages
|
||||
run: melos bootstrap --scope drift_docs,drift,app
|
||||
run: melos bootstrap --scope drift_website,drift,app
|
||||
working-directory: .
|
||||
- name: Run build
|
||||
env:
|
||||
IS_RELEASE: ${{ github.event_name == 'push' && github.event.ref == 'refs/heads/latest-release' }}
|
||||
run: |
|
||||
dart pub global activate webdev
|
||||
chmod +x ./docs.sh
|
||||
./docs.sh build
|
||||
chmod +x ./tool/build.sh
|
||||
./build.sh
|
||||
- name: Analyze Dart and Drift sources
|
||||
run: |
|
||||
dart format -o none --set-exit-if-changed .
|
||||
|
||||
+2
-2
@@ -23,12 +23,12 @@ dependencies:
|
||||
sqlcipher_flutter_libs: ^0.6.8
|
||||
test: ^1.26.3
|
||||
rxdart: ^0.28.0
|
||||
jaspr_content_snippets: ^0.1.3
|
||||
jaspr_content_snippets: ^0.2.0
|
||||
glob: ^2.1.3
|
||||
markdown: ^7.3.0
|
||||
jaspr_docsy:
|
||||
hosted: https://pub-simonbinder-eu.fsn1.your-objectstorage.com
|
||||
version: 0.0.2
|
||||
version: 0.0.3
|
||||
universal_web: ^1.1.1
|
||||
http: ^1.5.0
|
||||
web: ^1.1.1
|
||||
|
||||
Regular → Executable
+1
-1
@@ -38,7 +38,7 @@ if [ $? -ne 0 ]; then
|
||||
echo "Failed to build the example project"
|
||||
exit 1
|
||||
fi
|
||||
rm -rf ../../docs/build/jaspr/examples/app
|
||||
mkdir -p ../../docs/build/jaspr/examples/app
|
||||
rm -r ../../docs/build/jaspr/examples/app/*
|
||||
mv -f ./build/web/* ../../docs/build/jaspr/examples/app
|
||||
cd -
|
||||
|
||||
Reference in New Issue
Block a user