Skip to content

Commit a5b2685

Browse files
CI: update Makefile to use new dart command.
1 parent f9350fa commit a5b2685

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

objectbox/Makefile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,22 @@ help: ## Show this help
1111
all: depend test valgrind-test integration-test
1212

1313
depend: ## Build dependencies
14-
pub get
14+
dart pub get
1515
../install.sh
1616

1717
test: ## Test all targets
18-
pub run build_runner build
19-
pub run test
18+
dart run build_runner build
19+
dart run test
2020

2121
coverage: ## Calculate test coverage
22-
pub run build_runner build
22+
dart run build_runner build
2323
# Note: only flutter test generates `.lcov` - can't use `dart test`
2424
flutter test --coverage
2525
lcov --remove coverage/lcov.info 'lib/src/native/sync.dart' 'lib/src/native/bindings/objectbox_c.dart' 'lib/src/native/bindings/bindings.dart' 'lib/src/modelinfo/*' -o coverage/lcov.info
2626
genhtml coverage/lcov.info -o coverage/html || true
2727

2828
valgrind-test: ## Test all targets with valgrind
29-
pub run build_runner build
29+
dart run build_runner build
3030
./tool/valgrind.sh
3131

3232
integration-test: ## Execute integration tests
@@ -35,4 +35,4 @@ integration-test: ## Execute integration tests
3535
./tool/integration-test.sh example/flutter/objectbox_demo_sync
3636

3737
format: ## Format all code
38-
dartfmt -w .
38+
dart format .

0 commit comments

Comments
 (0)