compile time version definition

This commit is contained in:
unknown
2022-02-01 18:33:13 +01:00
parent 8673a9e42a
commit 0fca636311
14 changed files with 60 additions and 31 deletions

12
filcnaplo/run.sh Normal file
View File

@@ -0,0 +1,12 @@
#!/bin/fish
function get_version
cat pubspec.yaml | grep version: | cut -d' ' -f2 | cut -d+ -f1
end
if test -e /mnt/enc/keys/filc3.properties
set -x ANDROID_SIGNING /mnt/enc/keys/filc3.properties
end
flutter run --debug --dart-define=APPVER=(get_version)