X-Git-Url: https://git.r.bdr.sh/rbdr/lyricli/blobdiff_plain/a12f29158ced867c200ce8ea596fa46b17c8c18a..97f47198a0dd96c571ec1086e7f8c68963d263d0:/Makefile?ds=sidebyside 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 \