mirror of
https://github.com/dkhamsing/open-source-ios-apps.git
synced 2025-01-18 20:00:00 +01:00
[script] cleanup
This commit is contained in:
parent
16a47b1793
commit
b60b049c67
12
.github/osia_convert.rb
vendored
12
.github/osia_convert.rb
vendored
@ -184,7 +184,13 @@ end
|
|||||||
def write_list(j, file, appstoreonly = false)
|
def write_list(j, file, appstoreonly = false)
|
||||||
t = j['title']
|
t = j['title']
|
||||||
subt = j['subtitle']
|
subt = j['subtitle']
|
||||||
desc = j['description']
|
|
||||||
|
desc = if appstoreonly
|
||||||
|
'List of open-source apps published on the App Store (complete list [here](https://github.com/dkhamsing/open-source-ios-apps))'
|
||||||
|
else
|
||||||
|
j['description']
|
||||||
|
end
|
||||||
|
|
||||||
h = j['header']
|
h = j['header']
|
||||||
f = j['footer']
|
f = j['footer']
|
||||||
cats = j['categories']
|
cats = j['categories']
|
||||||
@ -192,13 +198,11 @@ def write_list(j, file, appstoreonly = false)
|
|||||||
|
|
||||||
output = '# ' + t
|
output = '# ' + t
|
||||||
output << "\n\n"
|
output << "\n\n"
|
||||||
|
output << desc
|
||||||
|
|
||||||
if appstoreonly == false
|
if appstoreonly == false
|
||||||
output << desc
|
|
||||||
output << "\n\n#{subt}\n\n"
|
output << "\n\n#{subt}\n\n"
|
||||||
output << output_badges(apps.count)
|
output << output_badges(apps.count)
|
||||||
else
|
|
||||||
output << 'List of open-source apps published on the App Store (complete list [here](https://github.com/dkhamsing/open-source-ios-apps))'
|
|
||||||
end
|
end
|
||||||
|
|
||||||
output << "\n\nJump to\n\n"
|
output << "\n\nJump to\n\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user