Skip to content
This repository has been archived by the owner on Feb 2, 2018. It is now read-only.

Configure linters and coverage tools to ignore Play's generated source files.

License

Notifications You must be signed in to change notification settings

danielnixon/sbt-ignore-play-generated

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sbt-ignore-play-generated

Build Status Codacy Badge Maven Central

An SBT plugin that will configure other plugins to ignore Play's generated source files.

Play generates Scala source code based on your routes definitions, which you typically won't want to include in coverage metrics, static analysis (linters), etc. It can be annoying to configure such plugins to exclude Play's generated sources because they each require slightly different configuration. This plugin takes care of it for you.

Usage

Add the following to your plugins.sbt:

addSbtPlugin("org.danielnixon" % "sbt-ignore-play-generated" % "0.1")

If you use any of the supported SBT plugins (below), they will now be configured to ignore Play's generated sources.

Supported plugins

See also

If you're using both Play and WartRemover, you might like PlayWarts.

About

Configure linters and coverage tools to ignore Play's generated source files.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages