This commit is contained in:
Serhii Londar 2018-11-15 01:19:06 +02:00
parent 442329d299
commit 8a66f8747a
2 changed files with 4 additions and 0 deletions

View file

@ -221,6 +221,7 @@ class ReadmeGenerator {
applications = applications.sorted(by: { $0.category < $1.category })
readmeString.append(header)
print("Start iteration....")
for category in categories {
readmeString.append(String.enter + String.section + String.space + category.title + String.enter)
@ -246,6 +247,7 @@ class ReadmeGenerator {
}
}
}
print("Finish iteration...")
readmeString.append(footer)
try? readmeString.data(using: .utf8)?.write(to: URL(fileURLWithPath: FilePaths.readme.rawValue))
print("Finish")

2
.github/deploy.sh vendored
View file

@ -13,6 +13,8 @@ git checkout readme-generation
git config user.name "serhii-londar"
git config user.email "serhii.londar@gmail.com"
git status
echo add readme
git add README.md