1 Star 1 Fork 0

xdicac / rust-raspberrypi-OS-tutorials

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
contributor_setup.sh 726 Bytes
AI 代码解读
一键复制 编辑 原始数据 按行查看 历史
#!/usr/bin/env bash
git config core.hooksPath .githooks
#
# Ruby and Bundler
#
if ! command -v bundle &> /dev/null
then
echo "'bundle' could not be found. Please install Ruby and Bundler."
exit
fi
bundle config set --local path '.vendor/bundle'
bundle install
#
# NPM
#
if ! command -v npm &> /dev/null
then
echo "'npm' could not be found. Please install it."
exit
fi
npm install --save-dev --save-exact prettier
#
# Misspell
#
if ! command -v curl &> /dev/null
then
echo "'curl' could not be found. Please install it."
exit
fi
curl -L -o ./install-misspell.sh https://raw.githubusercontent.com/client9/misspell/master/install-misspell.sh
sh ./install-misspell.sh -b .vendor
rm install-misspell.sh
1
https://gitee.com/xdicac/rust-raspberrypi-OS-tutorials.git
git@gitee.com:xdicac/rust-raspberrypi-OS-tutorials.git
xdicac
rust-raspberrypi-OS-tutorials
rust-raspberrypi-OS-tutorials
master

搜索帮助