default: build
-build:
+prebuild:
+ mkdir -p $(build_path)
+
+build: prebuild
swift build --build-path $(build_path) --configuration $(configuration)
install: build
lint:
cd Sources && swiftlint
-document: build
+document: prebuild
sourcekitten doc --spm-module $(source_binary_name) > $(build_path)/$(source_binary_name).json
jazzy \
-s $(build_path)/$(source_binary_name).json \
--author Lyricli \
--author_url https://gitlab.com/lyricli \
--github_url https://gitlab.com/lyricli/lyricli \
- --module-version 0.4.0 \
+ --module-version 1.0.0 \
--module Lyricli \
clean: