X-Git-Url: https://git.r.bdr.sh/rbdr/lyricli/blobdiff_plain/101a6eccd794add1a4b1fcb1c9b0d6ece24d2939..97f47198a0dd96c571ec1086e7f8c68963d263d0:/Makefile diff --git a/Makefile b/Makefile index 8428b44..d244996 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,10 @@ install: configuration = release default: build -build: +prebuild: + mkdir -p $(build_path) + +build: prebuild swift build --build-path $(build_path) --configuration $(configuration) install: build @@ -26,7 +29,7 @@ test: 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 \