mirror of
https://github.com/Instagram/IGListKit
synced 2026-05-23 17:28:22 +00:00
Add script to detect if Jazzy is installed or not
Summary: Issue fixed: #744 Pretty much same as Swiftlint's check just inverted and made for jazzy! Closes https://github.com/Instagram/IGListKit/pull/790 Differential Revision: D5129341 Pulled By: rnystrom fbshipit-source-id: 4cc0f037aeefb216e5e1f82bcfc5da1c9a15caab
This commit is contained in:
parent
c2504e0d0e
commit
a8e4f3089c
2 changed files with 6 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ if has_source_changes && no_changelog_entry && not_declared_trivial
|
|||
end
|
||||
|
||||
# Docs are regenerated when releasing
|
||||
has_doc_changes = !git.modified_files.grep(/docs/).empty?
|
||||
has_doc_changes = !git.modified_files.grep(/docs\//).empty?
|
||||
if has_doc_changes
|
||||
warn("Docs are regenerated when creating new releases.")
|
||||
end
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
if ! which jazzy >/dev/null; then
|
||||
echo "Jazzy not detected: You can download it from https://github.com/realm/jazzy"
|
||||
exit
|
||||
fi
|
||||
|
||||
# Docs by jazzy
|
||||
# https://github.com/realm/jazzy
|
||||
# ------------------------------
|
||||
|
|
|
|||
Loading…
Reference in a new issue