Sha256: ff6a91d57b45a293bddf9959bd15e40fb3a50b38c503eb0cbe25cc0ca3a7fd37

Contents?: true

Size: 629 Bytes

Versions: 8

Compression:

Stored size: 629 Bytes

Contents

#!/bin/sh

set -e

BASE_DIR=$(cd $(dirname $(dirname $0)) && pwd)
RUBY_VERSION=$(BUNDLE_GEMFILE=$BASE_DIR/Gemfile bundle exec ruby -e 'print RUBY_VERSION')

mkdir -p ~/.yoda/sources/
curl "https://cache.ruby-lang.org/pub/ruby/ruby-$RUBY_VERSION.tar.gz" > "/tmp/ruby-$RUBY_VERSION.tar.gz"
tar xvzf "/tmp/ruby-$RUBY_VERSION.tar.gz" -C ~/.yoda/sources > /dev/null

cd ~/.yoda/sources/ruby-$RUBY_VERSION
BUNDLE_GEMFILE=$BASE_DIR/Gemfile bundle exec yardoc -n *.c
BUNDLE_GEMFILE=$BASE_DIR/Gemfile bundle exec yardoc -b .yardoc-stdlib -o doc-stdlib -n

echo "Complete to build YARD indexes of the core library and standard libraries."

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
yoda-language-server-0.7.2 scripts/build_core_index.sh
yoda-language-server-0.7.1 scripts/build_core_index.sh
yoda-language-server-0.7.0 scripts/build_core_index.sh
yoda-language-server-0.6.2 scripts/build_core_index.sh
yoda-language-server-0.6.1 scripts/build_core_index.sh
yoda-language-server-0.6.0 scripts/build_core_index.sh
yoda-language-server-0.5.0 scripts/build_core_index.sh
yoda-language-server-0.4.0 scripts/build_core_index.sh