Updated docs

This commit is contained in:
Sebastiano Vigna 2021-03-29 09:14:59 +01:00
parent 40b6f96854
commit 9136e977e3
2 changed files with 7 additions and 2 deletions

View file

@ -23,6 +23,8 @@ Since version 8.5.4, fastutil is split into three jars for convenience:
- `fastutil.jar` adds the remaining data structures: booleans, shorts, and
floats.
Each jar depends on the previous one.
You can also create a small, customized fastutil jar (which you can put in
your repo, local maven repo, etc.) using the `find-deps.sh` shell script.
It has mild prerequisites, as only the `jdeps` tool is required (bundled

View file

@ -30,7 +30,7 @@ function print_synopsis() {
echo ""
echo "Arguments:"
echo " find:"
echo " <paths to analyse> - Analyses the given path (jar or directory for usages"
echo " <paths to analyse> - Analyses the given path (jar or directory) for usages"
echo " of fastutil classes"
echo " --cp <path> - Adds the given path (jar or directory) to the searched class-"
echo " path. This is useful if you have a big library making use of a lot of"
@ -38,7 +38,7 @@ function print_synopsis() {
echo " not to include fastutil itself here!"
echo " --src - Output paths to the .java files"
echo " --cls - Output paths to the .class files"
echo " minimize: <path to fastutil.jar> <path to class list>"
echo " minimize: <path to complete fastutil.jar> <path to class list>"
}
function print_usage() {
@ -55,6 +55,9 @@ function print_usage() {
echo ""
echo " $(basename $0) minimize fastutil.jar dependencies.txt"
echo ""
echo "Note that the fastutil.jar used here is the global jar containing all"
echo "classes generated by \"ant jar\"."
echo ""
echo "A more advanced usage would be to build a minimized jar based on manually"
echo "written \"dependencies.txt\" which can be directly passed to \"minimize\"."
}