forked from chinabugotech/hutool
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhutool.sh
More file actions
32 lines (28 loc) · 650 Bytes
/
hutool.sh
File metadata and controls
32 lines (28 loc) · 650 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/bash
# Help info function
help(){
echo "--------------------------------------------------------------------------"
echo ""
echo "usage: ./hutool.sh [install | doc | pack]"
echo ""
echo "-install Install Hutool to your local Maven repository."
echo "-doc Generate Java doc api for Hutool, you can see it in target dir"
echo "-pack Make jar package by Maven"
echo ""
echo "--------------------------------------------------------------------------"
}
# Start
./bin/logo.sh
case "$1" in
'install')
bin/install.sh
;;
'doc')
bin/javadoc.sh
;;
'pack')
bin/package.sh
;;
*)
help
esac