]> git.r.bdr.sh - rbdr/lyricli/commitdiff
Add documentation target to make
authorBen Beltran <redacted>
Fri, 19 May 2017 05:32:10 +0000 (00:32 -0500)
committerBen Beltran <redacted>
Fri, 19 May 2017 05:32:10 +0000 (00:32 -0500)
Makefile

index abbfd02e5636abfc19e398293e9e59b4d1df72e7..499e1d14a89866613a282fa387527d7d3e76621e 100644 (file)
--- 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