Skip to content

Commit

Permalink
0.6.2 release
Browse files Browse the repository at this point in the history
  • Loading branch information
xerial committed Aug 12, 2014
1 parent a133be7 commit b1e7715
Show file tree
Hide file tree
Showing 12 changed files with 14 additions and 12 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Add `sbt-pack` plugin to your sbt configuration:
**project/plugins.sbt**

```scala
addSbtPlugin("org.xerial.sbt" % "sbt-pack" % "0.6.1") // for sbt-0.13.x or higher
addSbtPlugin("org.xerial.sbt" % "sbt-pack" % "0.6.2") // for sbt-0.13.x or higher

addSbtPlugin("org.xerial.sbt" % "sbt-pack" % "0.2.5") // for sbt-0.12.x (New features will not be supported in this version.)
```
Expand All @@ -48,7 +48,7 @@ Now you can use `sbt pack` command in your project.

#### Full build configuration

Import `xerial.sbt.Pack.packAutoSettings` into your project settings. sbt-pack finds main classes in your code and generates programs for them accordingly. The main classes must be Scala objects that define `def main(args:Array[])` method. The program names are the main classes names, hyphenized. (For example, main class `myprog.ExampleProg` gives program name `example-prog`.)
Import `xerial.sbt.Pack.packAutoSettings` into your project settings (Since version 0.6.2). sbt-pack finds main classes in your code and generates programs for them accordingly. The main classes must be Scala objects that define `def main(args:Array[])` method. The program names are the main classes names, hyphenized. (For example, main class `myprog.ExampleProg` gives program name `example-prog`.)

Alternatively, import `xerial.sbt.Pack.packSettings` instead of `xerial.sbt.Pack.packAutoSettings`. The main classes in your program will then not be guessed. Manually set the `packMain` variable, a mapping from your program names to their corresponding main classes (for example `packMain := Map("hello" -> "myprog.Hello")`).

Expand Down
2 changes: 2 additions & 0 deletions ReleaseNotes.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
### Release Notes
- August 13th, 2014 - 0.6.2 release
- Added `packAutoSettings` to find main classes automatically.
- July 28th, 2014 - 0.6.1 release
- Fixes [#41](https://github.com/xerial/sbt-pack/issues/41)
- July 18th, 2014 - 0.6.0 release
Expand Down
2 changes: 1 addition & 1 deletion src/sbt-test/sbt-pack/archive-modules/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
addSbtPlugin("org.xerial.sbt" % "sbt-pack" % "0.6.2-SNAPSHOT")
addSbtPlugin("org.xerial.sbt" % "sbt-pack" % "0.6.2")



2 changes: 1 addition & 1 deletion src/sbt-test/sbt-pack/build-sbt/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
addSbtPlugin("org.xerial.sbt" % "sbt-pack" % "0.6.2-SNAPSHOT")
addSbtPlugin("org.xerial.sbt" % "sbt-pack" % "0.6.2")


2 changes: 1 addition & 1 deletion src/sbt-test/sbt-pack/command-launcher/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
addSbtPlugin("org.xerial.sbt" % "sbt-pack" % "0.6.2-SNAPSHOT")
addSbtPlugin("org.xerial.sbt" % "sbt-pack" % "0.6.2")


2 changes: 1 addition & 1 deletion src/sbt-test/sbt-pack/convention-full/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
addSbtPlugin("org.xerial.sbt" % "sbt-pack" % "0.6.2-SNAPSHOT")
addSbtPlugin("org.xerial.sbt" % "sbt-pack" % "0.6.2")


Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
addSbtPlugin("org.xerial.sbt" % "sbt-pack" % "0.6.2-SNAPSHOT")
addSbtPlugin("org.xerial.sbt" % "sbt-pack" % "0.6.2")


2 changes: 1 addition & 1 deletion src/sbt-test/sbt-pack/duplicate-jars/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
addSbtPlugin("org.xerial.sbt" % "sbt-pack" % "0.6.2-SNAPSHOT")
addSbtPlugin("org.xerial.sbt" % "sbt-pack" % "0.6.2")


2 changes: 1 addition & 1 deletion src/sbt-test/sbt-pack/min-project/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
addSbtPlugin("org.xerial.sbt" % "sbt-pack" % "0.6.2-SNAPSHOT")
addSbtPlugin("org.xerial.sbt" % "sbt-pack" % "0.6.2")


2 changes: 1 addition & 1 deletion src/sbt-test/sbt-pack/multi-module/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
addSbtPlugin("org.xerial.sbt" % "sbt-pack" % "0.6.2-SNAPSHOT")
addSbtPlugin("org.xerial.sbt" % "sbt-pack" % "0.6.2")



2 changes: 1 addition & 1 deletion src/sbt-test/sbt-pack/pack-resources/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
addSbtPlugin("org.xerial.sbt" % "sbt-pack" % "0.6.2-SNAPSHOT")
addSbtPlugin("org.xerial.sbt" % "sbt-pack" % "0.6.2")


2 changes: 1 addition & 1 deletion version.sbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

version in ThisBuild := "0.6.2-SNAPSHOT"
version in ThisBuild := "0.6.2"



Expand Down

0 comments on commit b1e7715

Please sign in to comment.