Skip to content

Commit

Permalink
実行可能なjarにまとめる
Browse files Browse the repository at this point in the history
  • Loading branch information
Kuchitama committed Sep 23, 2014
1 parent bc8d644 commit 9024132
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,24 @@ Scala関西ビギナーズ参加者のリストからランダムに1人を選

[サンプルコード](https://github.com/Kuchitama/scalakb4_workshop/releases/tag/step2)

****

これ以降は、この課題の目的からはアドバンスドなステップになります。

## Step3

CLIっぽくしてみる

* 実行時オプションでファイルを指定するように変更
* ファイルが指定されなければ、コマンドラインから名前を入力

[サンプルコード](https://github.com/Kuchitama/scalakb4_workshop/releases/tag/step3)


## Step4

実行可能なjarにまとめる

* sbt-assemblyプラグインを追加する
* `abt assembly`する

2 changes: 2 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ libraryDependencies ++= Seq(
"com.github.scopt" %% "scopt" % "3.2.0"
)

assemblySettings

// Uncomment to use Akka
//libraryDependencies += "com.typesafe.akka" % "akka-actor_2.11" % "2.3.3"

1 change: 1 addition & 0 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.11.2")

0 comments on commit 9024132

Please sign in to comment.