From 0a349ded18c79cfab18627e48bbd5ddeb21153d1 Mon Sep 17 00:00:00 2001 From: Ben Beltran Date: Fri, 19 May 2017 00:32:10 -0500 Subject: Add documentation target to make --- Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'Makefile') 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 -- cgit