aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index abbfd02..499e1d1 100644
--- a/Makefile
+++ b/Makefile
@@ -25,6 +25,18 @@ test: build
lint:
cd Sources && swiftlint
+document: build
+ sourcekitten doc --spm-module $(source_binary_name) > $(build_path)/$(source_binary_name).json
+ jazzy \
+ -s $(build_path)/$(source_binary_name).json \
+ --readme README.md \
+ --clean \
+ --author Lyricli \
+ --author_url https://github.com/lyricli-app \
+ --github_url https://github.com/lyricli-app/lyricli \
+ --module-version 0.0.0 \
+ --module Lyricli \
+
clean:
swift build --clean