forked from HazAT/badge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
43 lines (35 loc) · 2.63 KB
/
Makefile
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
fitrack_icon := assets/icon175x175_fitrack.png
testflight_icon := assets/icon175x175.png
create-assets:
@echo "--> Recreating all assets for readme"
cp $(fitrack_icon) assets/icon175x175_fitrack_light_badged.png
bin/badge --glob "/assets/icon175x175_fitrack_light_badged.png"
cp $(testflight_icon) assets/icon175x175_alpha_light_badged.png
bin/badge --glob "/assets/icon175x175_alpha_light_badged.png"
cp $(fitrack_icon) assets/icon175x175_fitrack_dark_badged.png
bin/badge --dark --glob "/assets/icon175x175_fitrack_dark_badged.png"
cp $(testflight_icon) assets/icon175x175_dark_badged.png
bin/badge --dark --glob "/assets/icon175x175_dark_badged.png"
cp $(fitrack_icon) assets/icon175x175_fitrack_alpha_light_badged.png
bin/badge --alpha --glob "/assets/icon175x175_fitrack_alpha_light_badged.png"
cp $(testflight_icon) assets/icon175x175_alpha_light_badged.png
bin/badge --alpha --glob "/assets/icon175x175_alpha_light_badged.png"
cp $(fitrack_icon) assets/icon175x175_fitrack_shield_1.2-2031-orange.png
bin/badge --shield "1.2-2031-orange" --no_badge --glob "/assets/icon175x175_fitrack_shield_1.2-2031-orange.png"
cp $(testflight_icon) assets/icon175x175_shield_1.2-2031-orange.png
bin/badge --shield "1.2-2031-orange" --no_badge --glob "/assets/icon175x175_shield_1.2-2031-orange.png"
cp $(fitrack_icon) assets/icon175x175_fitrack_shield_1.2-2031-orange-no-resize.png
bin/badge --shield "1.2-2031-orange" --no_badge --shield_no_resize --glob "/assets/icon175x175_fitrack_shield_1.2-2031-orange-no-resize.png"
cp $(testflight_icon) assets/icon175x175_shield_1.2-2031-orange-no-resize.png
bin/badge --shield "1.2-2031-orange" --no_badge --shield_no_resize --glob "/assets/icon175x175_shield_1.2-2031-orange-no-resize.png"
cp $(fitrack_icon) assets/icon175x175_fitrack_shield_Version-0.0.3-blue.png
bin/badge --shield "Version-0.0.3-blue" --dark --glob "/assets/icon175x175_fitrack_shield_Version-0.0.3-blue.png"
cp $(testflight_icon) assets/icon175x175_shield_Version-0.0.3-blue.png
bin/badge --shield "Version-0.0.3-blue" --dark --glob "/assets/icon175x175_shield_Version-0.0.3-blue.png"
cp $(fitrack_icon) assets/icon175x175_fitrack_shield_Version-0.0.3-blue-geo-scale.png
bin/badge --shield "Version-0.0.3-blue" --dark --shield_geometry "+0+25%" --shield_scale 0.75 --glob "/assets/icon175x175_fitrack_shield_Version-0.0.3-blue-geo-scale.png"
cp $(testflight_icon) assets/icon175x175_shield_Version-0.0.3-blue-geo-scale.png
bin/badge --shield "Version-0.0.3-blue" --dark --shield_geometry "+0+25%" --shield_scale 0.75 --glob "/assets/icon175x175_shield_Version-0.0.3-blue-geo-scale.png"
build:
@echo "--> Make release"
gem build badge.gemspec