Skip to content

Commit

Permalink
add hutool.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
looly committed Dec 16, 2017
1 parent a992df9 commit fda6e33
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
11 changes: 11 additions & 0 deletions bin/logo.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash

echo '========================================'
echo ' __ __ __ __ '
echo ' / / / /__ __ / /_ ____ ____ / / '
echo ' / /_/ // / / // __// __ \ / __ \ / / '
echo ' / __ // /_/ // /_ / /_/ // /_/ // / '
echo '/_/ /_/ \____/ \__/ \____/ \____//_/ '
echo ''
echo '-----------http://hutool.cn/------------'
echo '========================================'
29 changes: 29 additions & 0 deletions hutool.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,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

0 comments on commit fda6e33

Please sign in to comment.