]> git.r.bdr.sh - rbdr/lyricli/blobdiff - Makefile
Update CHANGELOG`
[rbdr/lyricli] / Makefile
index abbfd02e5636abfc19e398293e9e59b4d1df72e7..3066e117f8c07449ee80dc09644d43320c9fa956 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -25,7 +25,19 @@ test: build
 lint:
        cd Sources && swiftlint
 
 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://gitlab.com/lyricli \
+               --github_url https://gitlab.com/lyricli/lyricli \
+               --module-version 0.4.0 \
+               --module Lyricli \
+
 clean:
 clean:
-       swift build --clean
+       swift package clean
 
 .PHONY: build install test clean lint
 
 .PHONY: build install test clean lint