forked from objectbox/objectbox-dart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
28 lines (20 loc) · 854 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Default target executed when no arguments are given to make.
default: all
.PHONY: default help depend test publish integration-test
help: ## Show this help
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
#==============================================================================
all: depend test integration-test
depend: ## Build dependencies
pub get
./install.sh
test: ## Test all targets
pub run build_runner build
pub run test
integration-test: ## Execute integration tests
cd example/flutter/objectbox_demo/ ; \
flutter pub get ; \
flutter pub run build_runner build ; \
flutter drive --verbose --target=test_driver/app.dart ; \
publish: ## Publish all packages to pub.dev
echo "TODO implement publishing"