[go: up one dir, main page]

Skip to content

alexkon/pretty-sql-sbt-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pretty-sql-sbt-plugin

Usage

  1. Build plugin and push to local sbt repository using sbt-shell:
publishLocal
  1. Add plugin to your project by adding new line in file project/plugins.sbt:
addSbtPlugin("pretty-sql-sbt-plugin" % "pretty-sql-sbt-plugin" % "0.1.8")
  1. Run sbt-shell and execute task:

    Format all Scala files in current base directory:

    formatSQL                                                 

    Format only provided Scala file:

    formatSQL src/main/scala/com/example/test/SqlTest.scala

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages