forked from fastlane-community/fastlane-plugin-appicon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFastfile
53 lines (47 loc) · 1.22 KB
/
Fastfile
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# frozen_string_literal: true
lane :ios do
appicon(
appicon_image_file: 'spec/fixtures/Themoji.png',
appicon_devices: %i[ipad iphone ios_marketing watch watch_marketing],
appicon_path: 'app'
)
end
lane :ios_splash do
appicon(
appicon_image_file: 'spec/fixtures/ThemojiSplash.png',
appicon_devices: [:universal],
appicon_path: 'app',
appicon_name: 'Splash.imageset'
)
end
lane :ios_messages_extension do
appicon(
appicon_image_file: 'spec/fixtures/ThemojiSplash.png',
appicon_devices: %i[iphone ipad ios_marketing messages],
appicon_path: 'app/iMessageStickers/Stickers.xcassets',
messages_extension: true
)
end
lane :macos do
appicon(
appicon_image_file: 'spec/fixtures/ThemojiSplash.png',
appicon_devices: [:macos],
appicon_path: 'app',
appicon_name: 'Mac.appiconset'
)
end
lane :android do
android_appicon(
appicon_image_file: 'spec/fixtures/Themoji.png',
appicon_path: 'app/res/mipmap',
generate_rounded: true
)
end
lane :android_splash do
android_appicon(
appicon_image_file: 'spec/fixtures/ThemojiSplash.png',
appicon_icon_types: %i[splash_port splash_land],
appicon_path: 'app/res/drawable',
appicon_filename: 'splash'
)
end