ulid-creator/docs/run.sh

15 lines
264 B
Bash
Raw Normal View History

2022-09-17 12:45:57 +00:00
#!/bin/bash
# find the script folder
SCRIPT_DIR=$(dirname "$0")
# go to the parent folder
cd "${SCRIPT_DIR}/.."
# clear old docs
rm -rf docs/javadoc
# generate new docs
find src/main/java/com/github/f4b6a3/ulid/ -name "*.java" | xargs javadoc -d docs/javadoc