scala——6. sbt

sbt 是 scala 的编译工具

安装:

curl https://bintray.com/sbt/rpm/rpm > bintray-sbt-rpm.repo

sudo mv bintray-sbt-rpm.repo /etc/yum.repos.d/

sudo yum install sbt

验证:

[root@hadoop01 ~]# sbt

[info] Updated file /root/project/build.properties: set sbt.version to 1.2.8

[info] Loading global plugins from /root/.sbt/1.0/plugins

[info] Loading project definition from /root/project

[info] Updating ProjectRef(uri("file:/root/project/"), "root-build")...

[info] Done updating.

[info] Set current project to root (in build file:/root/)

[info] sbt server started at local:///root/.sbt/1.0/server/27dc1aa3fdf4049b492d/sock

sbt:root>

猜你喜欢

转载自blog.csdn.net/weixin_42490528/article/details/87481109
sbt