mirror of
https://github.com/Dasemu/Synapse.git
synced 2026-11-26 15:26:17 +00:00
docs: app build/run guide, analyze via dart on non-ASCII paths
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
df42d4010f
commit
fce7526fcf
5 files changed
+80
-5
No files matched your search
@@ -6,7 +6,8 @@ if [ -f Cargo.toml ]; then
|
||||
out=$(cargo clippy --workspace --all-targets -q -- -D warnings 2>&1) || fail clippy "$out"
|
||||
out=$(cargo test --workspace -q 2>&1) || fail "cargo test" "$out"
|
||||
fi
|
||||
if [ -f app/pubspec.yaml ] && command -v flutter >/dev/null; then
|
||||
out=$(cd app && flutter analyze 2>&1) || fail "flutter analyze" "$out"
|
||||
if [ -f app/pubspec.yaml ] && command -v dart >/dev/null; then
|
||||
# dart analyze: flutter analyze crashes on non-ASCII project paths.
|
||||
out=$(cd app && dart analyze 2>&1) || fail "dart analyze" "$out"
|
||||
fi
|
||||
exit 0
|
||||
Reference in new issue
Block a user