/
githubmirror
/
alluxio
Обзор
Документация
Войти
/
githubmirror
/
alluxio
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
v312
dev/scripts/check-docs.sh
27 строк
979 B
qian0817
Use go mod to manager dependency in /dev/script
13 окт 2021, 07:54
Не верифицирован
13 окт 2021, 07:54
92842d8
Код
Авторство
О чём код?
#!/usr/bin/env bash # # The Alluxio Open Foundation licenses this work under the Apache License, version 2.0 # (the "License"). You may not use this work except in compliance with the License, which is # available at www.apache.org/licenses/LICENSE-2.0 # # This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, # either express or implied, as more fully set forth in the License. # # See the NOTICE file distributed with this work for information regarding copyright ownership. # # # This script validates headers and relative links in documentation markdown files # and verifies markdown is buildable by jekyll set -eux SCRIPT_DIR=$(cd "$( dirname "$( readlink "$0" || echo "$0" )" )"; pwd) (cd ${SCRIPT_DIR}/src/alluxio.org/ && GO111MODULE=on go build -o checkdocs "check-docs/main.go") ${SCRIPT_DIR}/src/alluxio.org/checkdocs $@ rm ${SCRIPT_DIR}/src/alluxio.org/checkdocs cd "${SCRIPT_DIR}"/../../docs && jekyll build --trace