File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,23 @@ This is a bridge to these libraries.
9
9
- Running on jvm, calls [ https://github.com/vertical-blank/sql-formatter ] ( https://github.com/vertical-blank/sql-formatter )
10
10
- Running on js, calls [ https://github.com/zeroturnaround/sql-formatter ] ( https://github.com/zeroturnaround/sql-formatter )
11
11
12
- ## Examples
12
+ ## Usage
13
+
14
+ ### Scala (on JVM)
15
+
16
+ ``` sbt
17
+ libraryDependencies += " com.github.vertical-blank" %% " scala-sql-formatter" % " 1.0.0"
18
+ ```
19
+
20
+ ### Scala.js
21
+
22
+ ``` sbt
23
+ libraryDependencies += " com.github.vertical-blank" %%% " scala-sql-formatter" % " 1.0.0"
24
+
25
+ scalaJSLinkerConfig ~= { _.withModuleKind(ModuleKind .CommonJSModule ) }
26
+ ```
27
+
28
+ ### Examples
13
29
14
30
You can easily use ` com.github.vertical_blank.sqlformatter.scala.SqlFormatter ` :
15
31
You can’t perform that action at this time.
0 commit comments