1 Star 6 Fork 0

justjavac / deno

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
install_test.sh 542 Bytes
一键复制 编辑 原始数据 按行查看 历史
justjavac 提交于 2021-10-09 09:17 . fix test for linux
#!/bin/sh
set -e
# Lint.
shellcheck -s sh ./*.sh
# Test that we can install the latest version at the default location.
rm -f ~/.deno/bin/deno
unset DENO_INSTALL
sh ./install.sh
~/.deno/bin/deno --version
# Test that we can install a specific version at a custom location.
rm -rf ~/deno-1.10.0
export DENO_INSTALL="$HOME/deno-1.10.0"
./install.sh 1.10.0
~/deno-1.10.0/bin/deno --version | grep 1.10.0
# Test that we can install at a relative custom location.
export DENO_INSTALL="."
./install.sh v1.14.0
bin/deno --version | grep 1.14.0
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/justjavac/deno.git
git@gitee.com:justjavac/deno.git
justjavac
deno
deno
main

搜索帮助

344bd9b3 5694891 D2dac590 5694891