-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmise.toml
28 lines (25 loc) · 1.07 KB
/
mise.toml
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
[tasks.deploy-web-testing]
description = 'Deploy testing version with a testing repository. | [--m <commit_message>]'
env = { REPO_NAME = 'DST-Helper-web-testing' }
run = '''
rm -rf build/web
git clone [email protected]:woin2ee/${REPO_NAME}.git build/web
flutter build web --base-href "/${REPO_NAME}/"
cd build/web
date >> date
git add .
git commit -m {{option(name="m")}}
git push
'''
[tasks.run-web-release]
description = 'Run for web server with given ip-address on release. | [ip_address]'
run = 'flutter run -d web-server --web-hostname {{arg()}} --web-port 8080 --release'
[tasks.extract_to_arb]
description = 'Generate a `.arb` file from `l10ns.dart`'
run = '''
dart run intl_translation:extract_to_arb --output-dir lib/l10n/arbs lib/l10n/l10ns.dart
open -a /Applications/Visual\ Studio\ Code.app lib/l10n/arbs/intl_messages.arb
'''
[tasks.generate_from_arb]
description = 'Generate message lookup classes from `.arb` translation files'
run = 'dart run intl_translation:generate_from_arb lib/l10n/l10ns.dart lib/l10n/arbs/intl_*.arb --output-dir=lib/l10n/gen --no-use-deferred-loading'