mirror of
https://github.com/trailbaseio/trailbase.git
synced 2025-12-21 09:29:44 -06:00
Move dart client to /client/dart.
This commit is contained in:
@@ -99,7 +99,7 @@ repos:
|
||||
|
||||
- id: dart_test
|
||||
name: Dart test
|
||||
entry: sh -c 'dart pub get && cd client/trailbase-dart && dart test'
|
||||
entry: sh -c 'dart pub get && cd client/dart && dart test'
|
||||
language: system
|
||||
types: [dart]
|
||||
# Unlike formatting, analyzing & testing require a project rather than a list of files.
|
||||
|
||||
2
Makefile
2
Makefile
@@ -6,7 +6,7 @@ static:
|
||||
format:
|
||||
pnpm -r format; \
|
||||
cargo +nightly fmt; \
|
||||
dart format client/trailbase-dart docs/examples/record_api_dart examples/blog/flutter; \
|
||||
dart format client/dart docs/examples/record_api_dart examples/blog/flutter; \
|
||||
# Don't mess with TrailBase writing config.textproto
|
||||
txtpbfmt `find . -regex ".*.textproto" | grep -v config.textproto`; \
|
||||
dotnet format client/dotnet/trailbase; \
|
||||
|
||||
@@ -205,7 +205,7 @@ Future<Process> initTrailBase() async {
|
||||
}
|
||||
|
||||
Future<void> main() async {
|
||||
if (!Directory.current.path.endsWith('trailbase-dart')) {
|
||||
if (!Directory.current.path.endsWith('dart')) {
|
||||
throw Exception('Unexpected working directory');
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ resolution: workspace
|
||||
|
||||
dependencies:
|
||||
trailbase:
|
||||
path: ../../../client/trailbase-dart
|
||||
path: ../../../client/dart
|
||||
|
||||
dev_dependencies:
|
||||
lints: ^5.1.1
|
||||
|
||||
@@ -15,7 +15,7 @@ dependencies:
|
||||
logging: ^1.2.0
|
||||
shared_preferences: ^2.3.2
|
||||
trailbase:
|
||||
path: ../../../client/trailbase-dart
|
||||
path: ../../../client/dart
|
||||
|
||||
dev_dependencies:
|
||||
flutter_test:
|
||||
|
||||
@@ -3,6 +3,6 @@ publish_to: none
|
||||
environment:
|
||||
sdk: ^3.6.1
|
||||
workspace:
|
||||
- client/trailbase-dart
|
||||
- client/dart
|
||||
- examples/blog/flutter
|
||||
- docs/examples/record_api_dart
|
||||
|
||||
Reference in New Issue
Block a user