aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorvlad <vlad@drivergrp.com>2016-08-17 21:29:02 -0700
committervlad <vlad@drivergrp.com>2016-08-17 21:29:02 -0700
commit851f4ebe87adeafd67b55b60210f161f8ee7dee5 (patch)
tree02e21415ee87def4f55774e72a4001bad92f601c /README.md
parent4579307bd5a5e7eee0f4c9b675ea25f5c091d9bb (diff)
downloadsbt-settings-851f4ebe87adeafd67b55b60210f161f8ee7dee5.tar.gz
sbt-settings-851f4ebe87adeafd67b55b60210f161f8ee7dee5.tar.bz2
sbt-settings-851f4ebe87adeafd67b55b60210f161f8ee7dee5.zip
Generation of all the necessary code style resources
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/README.md b/README.md
index 33868ab..9155505 100644
--- a/README.md
+++ b/README.md
@@ -12,6 +12,8 @@ Provides common sbt configuration for sbt itself, Scala compiler, testing, linti
### build.sbt
+Do `sbt reload` after adding a plugin and configure a project:
+
lazy val root = (project in file("."))
.settings (name := "Name-Of-Your-Project")
@@ -23,6 +25,10 @@ Provides common sbt configuration for sbt itself, Scala compiler, testing, linti
.packagingConfiguration // Currently packages to zip file as java server app
+ .settings(lintingSettings) // Scala code linting settings, includes `wartRemoverSettings` and `scalastyleSettings`
+
+ .settings(formatSettings) // Standard Scala code formatting
+
.settings(repositoriesSettings) // To use dependencies from Driver jar repository
.settings(publicationSettings) // Publishing to Driver jar repository