Skip to content

Commit 9df77c0

Browse files
author
whomm
committed
add
1 parent 57da68c commit 9df77c0

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

README.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,27 @@ this is a hive sql format tool
44

55
suport: create select insert
66

7+
# how to build
8+
9+
mvn package
10+
711
# how to use
812

9-
1. chmod +x ./bin/hsf
10-
2. ./bin/hsf ./bin/test.sql
13+
1. download release
14+
2. chmod +x ./hsf
15+
3. ./hsf ./test.sql
16+
17+
18+
# other
19+
20+
This code implements two formatting methods.
21+
22+
1. use my way
23+
24+
java -classpath hsqlformat-0.0.1-SNAPSHOT.jar whomm.hsqlformat.App ../bin/test.sql
25+
26+
2. use alibaba druid
27+
28+
java -classpath hsqlformat-0.0.1-SNAPSHOT.jar whomm.hsqlformat.TheApp ../bin/test.sql
29+
30+

0 commit comments

Comments
 (0)