mirror of
https://github.com/l5yth/potato-mesh.git
synced 2026-03-28 17:42:48 +01:00
* app: instance and chat mvp * app: instance and chat mvp * app: address review comments * cover missing unit test vectors * app: add backlink to github
16 lines
516 B
Bash
Executable File
16 lines
516 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
export GIT_TAG="$(git describe --tags --abbrev=0)"
|
|
export GIT_COMMITS="$(git rev-list --count ${GIT_TAG}..HEAD)"
|
|
export GIT_SHA="$(git rev-parse --short=9 HEAD)"
|
|
export GIT_DIRTY="$(git diff --quiet --ignore-submodules HEAD || echo true || echo false)"
|
|
flutter clean
|
|
flutter pub get
|
|
flutter run \
|
|
--dart-define=GIT_TAG="${GIT_TAG}" \
|
|
--dart-define=GIT_COMMITS="${GIT_COMMITS}" \
|
|
--dart-define=GIT_SHA="${GIT_SHA}" \
|
|
--dart-define=GIT_DIRTY="${GIT_DIRTY}" \
|
|
--device-id 38151FDJH00D4C
|
|
|