glean/Makefile

31 строка
662 B
Makefile
Исходник Обычный вид История

build-apk:
./gradlew glean-core:build
./gradlew glean-sample-app:build
.PHONY: build-apk
install:
$(ANDROID_HOME)/platform-tools/adb install -r ./samples/android/app/build/outputs/apk/debug/glean-sample-app-debug.apk
.PHONY: install
emulator:
$(ANDROID_HOME)/emulator/emulator -avd Nexus_5X_API_P -netdelay none -netspeed full
.PHONY: install
lint: fmt
2019-05-20 17:17:24 +03:00
cargo clippy --all --all-targets --all-features -- -D warnings
./gradlew ktlint detekt
.PHONY: lint
fmt:
cargo fmt --all
.PHONY: fmt
test:
2019-05-16 16:06:34 +03:00
cargo test --all
./gradlew test
.PHONY: test
cbindgen:
cbindgen glean-core/ffi --lockfile Cargo.lock -o glean-core/ffi/examples/glean.h
.PHONY: cbindgen