Skip to content

Commit 191031b

Browse files
committed
Install jazzy in the bundle
1 parent ebe9d80 commit 191031b

3 files changed

Lines changed: 34 additions & 38 deletions

File tree

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
source "https://rubygems.org"
33

44
gem 'cocoapods', '~> 1.14'
5+
gem 'jazzy', '~> 0.14'

Gemfile.lock

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,21 +74,43 @@ GEM
7474
httpclient (2.8.3)
7575
i18n (1.14.1)
7676
concurrent-ruby (~> 1.0)
77+
jazzy (0.14.4)
78+
cocoapods (~> 1.5)
79+
mustache (~> 1.1)
80+
open4 (~> 1.3)
81+
redcarpet (~> 3.4)
82+
rexml (~> 3.2)
83+
rouge (>= 2.0.6, < 5.0)
84+
sassc (~> 2.1)
85+
sqlite3 (~> 1.3)
86+
xcinvoke (~> 0.3.0)
7787
json (2.6.3)
88+
liferaft (0.0.6)
89+
mini_portile2 (2.8.5)
7890
minitest (5.20.0)
7991
molinillo (0.8.0)
92+
mustache (1.1.1)
8093
mutex_m (0.1.2)
8194
nanaimo (0.3.0)
8295
nap (1.1.0)
8396
netrc (0.11.0)
97+
open4 (1.3.4)
8498
public_suffix (4.0.7)
99+
redcarpet (3.6.0)
85100
rexml (3.2.6)
101+
rouge (4.2.0)
86102
ruby-macho (2.5.1)
87103
ruby2_keywords (0.0.5)
104+
sassc (2.4.0)
105+
ffi (~> 1.9)
106+
sqlite3 (1.6.9)
107+
mini_portile2 (~> 2.8.0)
88108
typhoeus (1.4.0)
89109
ethon (>= 0.9.0)
90110
tzinfo (2.0.6)
91111
concurrent-ruby (~> 1.0)
112+
xcinvoke (0.3.0)
113+
liferaft (~> 0.0.6)
92114
xcodeproj (1.23.0)
93115
CFPropertyList (>= 2.3.3, < 4.0)
94116
atomos (~> 0.1.3)
@@ -102,6 +124,7 @@ PLATFORMS
102124

103125
DEPENDENCIES
104126
cocoapods (~> 1.14)
127+
jazzy (~> 0.14)
105128

106129
BUNDLED WITH
107130
2.1.4

script/build_docs.zsh

Lines changed: 10 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -8,41 +8,13 @@
88
# Jazzy: https://github.com/realm/jazzy/releases/latest
99
# Generates documentation using jazzy and checks for installation.
1010

11-
VERSION="0.14.3"
12-
13-
FOUND=$(jazzy --version)
14-
LINK="https://github.com/realm/jazzy"
15-
INSTALL="gem install jazzy"
16-
17-
if which jazzy >/dev/null; then
18-
jazzy \
19-
--clean \
20-
--author "Nimble Contributors" \
21-
--author_url "https://github.com/Quick/Nimble" \
22-
--github_url "https://github.com/Quick/Nimble" \
23-
--module "Nimble" \
24-
--source-directory . \
25-
--readme "README.md" \
26-
--output docs/
27-
else
28-
echo "
29-
Error: Jazzy not installed!
30-
31-
Download: $LINK
32-
Install: $INSTALL
33-
"
34-
exit 1
35-
fi
36-
37-
if [ "$FOUND" != "jazzy version: $VERSION" ]; then
38-
echo "
39-
Warning: incorrect Jazzy installed! Please upgrade.
40-
Expected: $VERSION
41-
Found: $FOUND
42-
43-
Download: $LINK
44-
Install: $INSTALL
45-
"
46-
fi
47-
48-
exit
11+
bundle exec jazzy \
12+
--clean \
13+
--author "Nimble Contributors" \
14+
--author_url "https://github.com/Quick/Nimble" \
15+
--github_url "https://github.com/Quick/Nimble" \
16+
--module "Nimble" \
17+
--source-directory . \
18+
--readme "README.md" \
19+
-x -scheme,Nimble \
20+
--output docs/

0 commit comments

Comments
 (0)