【发布时间】:2019-07-05 09:13:41
【问题描述】:
我按照他们在 GitHub README 上的说明安装了 sorbet:
安装依赖项
brew install bazel autoconf coreutils parallel Clone this repositorygit clone https://github.com/sorbet/sorbet.git cd sorbet Build Sorbet
bazel build //main:sorbet --config=dbg
但是当我运行它时,我得到了以下信息:
$ bazel-bin/main/sorbet -e "42 + 2"
???? Hey there! Heads up that this is not a release build of sorbet.
Release builds are faster and more well-supported by the Sorbet team.
Check out the README to learn how to build Sorbet in release mode.
To forcibly silence this error, either pass --silence-dev-message,
or set SORBET_SILENCE_DEV_MESSAGE=1 in your shell environment.
No errors! Great job.
我想安装发布版本,因为我想使用支持良好的 sorbet,所以我再次访问他们的 GitHub README 并查看以下内容:
--config=release-mac和--config=release-linux我们提供给用户的确切发布配置。
所以我运行这个:
bazel build //main:sorbet --config=dbg --config=release-mac
但它以这一行结束:
FAILED: Build did NOT complete successfully
我也试过这个:
bazel build //main:sorbet --config=release-mac
但它也以这一行结尾:
FAILED: Build did NOT complete successfully
我应该怎么做才能安装 Sorbet 的发布版本?
【问题讨论】:
标签: sorbet