Skip to content

Commit

Permalink
Merge pull request #570 from francisdb/patch-1
Browse files Browse the repository at this point in the history
updated docs related to #568 on multiple main classes
  • Loading branch information
muuki88 committed May 1, 2015
2 parents d091090 + 40ef0a3 commit f8242ce
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/sphinx/archetypes/index.rst
Expand Up @@ -54,8 +54,14 @@ this archetype in your build, do the following in your ``build.sbt``:
wixProductUpgradeId := "4552fb0e-e257-4dbd-9ecb-dba9dbacf424"
This archetype will use the ``mainClass`` setting of sbt (automatically discovers your main class) to generate ``bat`` and ``bin`` scripts for your project. It
produces a universal layout that looks like the following:
This archetype will use the ``mainClass`` setting of sbt (automatically discovers your main class) to generate ``bat`` and ``bin`` scripts for your project.
In case you have multiple main classes you can point to a specific class with the following setting:

.. code-block:: scala
mainClass in Compile := Some("foo.bar.Main")
The universal layout produces looks like the following:

.. code-block:: none
Expand Down

0 comments on commit f8242ce

Please sign in to comment.