diff options
author | Tobias Roeser <le.petit.fou@web.de> | 2018-10-21 11:05:44 +0200 |
---|---|---|
committer | Tobias Roeser <le.petit.fou@web.de> | 2018-10-21 13:52:14 +0200 |
commit | c10e342b904a9c120b323ab08709e97e7589cd57 (patch) | |
tree | 7e5d82f21805941d487c96361bc8b02be9ddbe81 /docs | |
parent | c321c433a10da0a9b6e0f6379ed44ab8567def7c (diff) | |
download | mill-c10e342b904a9c120b323ab08709e97e7589cd57.tar.gz mill-c10e342b904a9c120b323ab08709e97e7589cd57.tar.bz2 mill-c10e342b904a9c120b323ab08709e97e7589cd57.zip |
Fixed some markdown formatting
Diffstat (limited to 'docs')
-rw-r--r-- | docs/pages/9 - Contrib Modules.md | 36 |
1 files changed, 19 insertions, 17 deletions
diff --git a/docs/pages/9 - Contrib Modules.md b/docs/pages/9 - Contrib Modules.md index 19817a4b..f9270e38 100644 --- a/docs/pages/9 - Contrib Modules.md +++ b/docs/pages/9 - Contrib Modules.md @@ -109,58 +109,60 @@ Quickstart: ``` - [publishM2](https://github.com/lefou/mill-publishM2 "mill-publishM2") - + Mill plugin to publish artifacts into a local Maven repository. - + Quickstart: - + Just mix-in the `PublishM2Module` into your project. `PublishM2Module` already extends mill's built-in `PublishModule`. - + File: `build.sc` ```scala import mill._, scalalib._, publish._ - + import $ivy.`de.tototec::de.tobiasroeser.mill.publishM2:0.0.1` import de.tobiasroeser.mill.publishM2._ - + object project extends PublishModule with PublishM2Module { // ... } ``` - + Publishing to default local Maven repository - - ``` + + ```bash > mill project.publishM2Local [40/40] project.publishM2Local Publishing to /home/user/.m2/repository ``` - + Publishing to custom local Maven repository - ``` + + ```bash > mill project.publishM2Local /tmp/m2repo [40/40] project.publishM2Local Publishing to /tmp/m2repo ``` - [osgi](https://github.com/lefou/mill-osgi "GitHub-Project lefou/mill-osgi") - + Produce OSGi Bundles with mill. - + Quickstart: ```scala import $ivy.`de.tototec::de.tobiasroeser.mill.osgi:0.0.2` import de.tobiasroeser.mill.osgi._ - + object project extends ScalaModule with OsgiBundleModule { - + def bundleSymbolicName = "com.example.project" - + def osgiHeaders = T{ osgiHeaders().copy( `Export-Package` = Seq("com.example.api"), `Bundle-Activator` = Some("com.example.internal.Activator") )} - + } ``` + |