-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.mise.toml
37 lines (31 loc) · 1.04 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
29
30
31
32
33
34
35
36
37
[tools]
pre-commit = "3.8.0"
ruby = "3.3.5"
[tasks.setup]
description = "Installs all development dependencies and sets up the commit hooks"
run = [
"mise install -y",
"bundle install",
"pre-commit install --hook-type pre-push",
]
[tasks.build-beta]
description = "Builds and publishes a new beta version of the app"
depends = ["cert-appstore"]
run = [
# TODO: check dirty state
# TODO: commit version change automatically and push? check if it’s the main branch
"bundle exec fastlane ios beta",
]
[tasks.cert-appstore]
description = "Fetches the App Store certificate and provisioning profile"
run = ["bundle exec fastlane match appstore"]
[tasks.cert-development]
description = "Fetches the development certificate and provisioning profile"
run = ["bundle exec fastlane match development"]
[tasks.test]
description = "Runs the tests"
run = [
"xcodebuild test -project Habits.xcodeproj -scheme habitsTests -destination 'platform=iOS Simulator,name=iPhone 16,OS=18.0' | xcpretty && exit ${PIPESTATUS[0]}",
]
[settings]
experimental = true