-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sbt installのLinux環境の記述追加 #555 #853
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
m1 macでうまく動かないなどの問題があるためsdkman または universal package の利用を推奨していることに言及しておきたい
https://www.scala-sbt.org/1.x/docs/Installing-sbt-on-Mac.html
追記
Macとjavaのインストールもsdkman!にした方がいいんじゃないかなって気もしますが、別スコープということで。
アッ、承知之助です。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Java ユーザー以外にも優しく、の観点からインストールの方法を説明したほうがいいかもしれない。
coursier を使えばsbtなどのツールもよしなにインストールしてくれるのでここで言及してもいいと思う。
src/sbt-install.md
Outdated
続いてインストールしたsdkman!を利用してsbtをインストールしていきます。 | ||
|
||
```shell | ||
$ sdk install sbt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
おそらくsdkがよしなにpathを管理してくれるのだと思うが、which sbt でsbtが存在することと存在する場所を確認する記述があるといいと思う。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
了解です。MacやWindowsとちょっと平仄が合わなくなりますが、別 issueで直すとして追加しますか。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM。簡潔な記述としてはこれでいいと思います。
これに限らない話題ですけど、 |
BTW. このPRの主題とはほとんど関係ないですが少し気になっていたので.
これについては scala の公式ドキュメント、逆引きであることを除いてscalapedia さんとも内容がかぶっているように感じます。 また、ざっと目を通した限りですが想定する読者層の水準とテキストの内容に少しズレがあり、それも内容が他のサイトとオーバーラップする原因になっているように思えます。 例えば以下の後半2つ(なにか意味のある..., Twitter API...)の水準なら、基本的な文法の分量を減らして、その代わりにhttp クライアントやjson の取り扱いの章があってもいいのではないだろうか、と思いました。
大学の情報学部卒である Rel #556 |
読むほうにしてみれば別のページに飛ぶだけで案外手間だったりするので、ある程度単体で完結してることに意義があるかなあと思ってたりします。 sbtの日本語公式を見てください、と言ってリンクだけ貼ってわかる人だけならそれでいいんですけど、実際はそうじゃない人が多いと感じますし。 |
その視点はある程度同意する一方、今まで数年間放置というか大半を自分が主に最低限のメンテだけしたんで、 |
その懸念もわかります。ただ、とりあえずcontributeしてもらう時にこういう「軽い」ところから作業してもらうのがいいかなというのが一点と、あとはsdkmanを使ったsbt installについては当分廃れないと思われるので、メンテコストについてはこの例では気にしないでいいんじゃないかなと思いますがいかがです?もうちょい賞味期限短そうな記述なら分離しない方がいいでしょうけど。 |
他のコンテンツとの棲み分けの議論なんですが、 #866 にdiscussion立てました。 |
#555 の対応。
簡単ですが、書いてみました。ご確認くださいm(_ _)m
Macとjavaのインストールもsdkman!にした方がいいんじゃないかなって気もしますが、別スコープということで。