Skip to content

Commit

Permalink
Merge pull request #290 from sbt/wip/jdeb-docs
Browse files Browse the repository at this point in the history
Adding documentation for JDeb Packaging
  • Loading branch information
jsuereth committed Jul 10, 2014
2 parents 830cac4 + 7aeab80 commit 209ab38
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,15 @@ To publish the image, ``dockerRepository`` should also be set.

As with the `systemd` support, help with testing and improvements is appreciated.

## Experimental JDeb support ##

If don't run a linux or mac system with ``dpkg`` installed, you can configure the
debian packaging be done by [jdeb](https://github.com/tcurdt/jdeb). To enable this just set another packaging
implementation in your `build.sbt`

```scala
packageBin in Debian <<= debianJDebPackaging in Debian
```

## Documentation ##

Expand Down
13 changes: 13 additions & 0 deletions src/sphinx/DetailedTopics/debian.rst
Original file line number Diff line number Diff line change
Expand Up @@ -165,3 +165,16 @@ created within in the ``postinst`` script and removed with ``apt-get purge`` thr
``postrm`` script.

For more information look at the :ref:`Archetypes` page.

Use JDeb for Debian Packaging
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

If don't run a linux or mac system with ``dpkg`` installed, you can configure the
debian packaging be done by `jdeb`_ . To enable this just set another packaging
implementation in your ``build.sbt``

.. code-block:: scala
packageBin in Debian <<= debianJDebPackaging in Debian
.. _jdeb: https://github.com/tcurdt/jdeb

0 comments on commit 209ab38

Please sign in to comment.