mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-05 00:02:38 -04:00
only build docs for latest ruby
This commit is contained in:
parent
16c06f0de6
commit
cea5feefdd
2
Rakefile
2
Rakefile
@ -15,7 +15,7 @@ task :rubocop do
|
||||
RuboCop::RakeTask.new
|
||||
end
|
||||
|
||||
task :"test:ci" => %i[test rubocop website_rdoc]
|
||||
task :"test:ci" => %i[test rubocop]
|
||||
|
||||
# Doc
|
||||
|
||||
|
@ -11,6 +11,7 @@ RET=$?
|
||||
RUBY_VERSION=`ruby -e 'puts RUBY_VERSION'`
|
||||
|
||||
if [[ ${RUBY_VERSION:0:3} = "2.5" ]]; then
|
||||
bundle exec rake website_rdoc && \
|
||||
cd www && bundle install && \
|
||||
bundle exec jekyll build -d public
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user