From: Ben Beltran Date: Fri, 19 May 2017 05:32:10 +0000 (-0500) Subject: Add documentation target to make X-Git-Tag: 0.1.0^2~1^2~9 X-Git-Url: https://git.r.bdr.sh/rbdr/lyricli/commitdiff_plain/0a349ded18c79cfab18627e48bbd5ddeb21153d1 Add documentation target to make --- 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