Skip to content
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

updated docs related to #568 on multiple main classes #570

Merged
merged 1 commit into from
May 1, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions src/sphinx/archetypes/index.rst
Original file line number Diff line number Diff line change
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