Skip to content

Commit

Permalink
close #12
Browse files Browse the repository at this point in the history
adds mainClass entrance to the assembly jar
  • Loading branch information
Xiao Ling committed Feb 5, 2018
1 parent 4dd2d9a commit ab0fa64
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ Alternatively, you can change the parameter values (e.g. the input file name) in
## Make a stand-alone jar

$ sbt assembly
# the actual path might be different
$ java -jar ./target/scala-2.10/figer-assembly-0.jar <text_file>

## A simple web interface

Expand Down
3 changes: 3 additions & 0 deletions assembly.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ mergeStrategy in assembly <<= (mergeStrategy in assembly) { (old) =>
case x => old(x)
}
}

mainClass in assembly := Some("edu.washington.cs.figer.FigerSystem")

0 comments on commit ab0fa64

Please sign in to comment.