X-Git-Url: https://git.r.bdr.sh/rbdr/lyricli/blobdiff_plain/97f47198a0dd96c571ec1086e7f8c68963d263d0..2a7cc52436ab4a7b6530881513679ac7ede997a8:/Makefile?ds=sidebyside diff --git a/Makefile b/Makefile index d244996..8428b44 100644 --- a/Makefile +++ b/Makefile @@ -14,10 +14,7 @@ install: configuration = release default: build -prebuild: - mkdir -p $(build_path) - -build: prebuild +build: swift build --build-path $(build_path) --configuration $(configuration) install: build @@ -29,7 +26,7 @@ test: build lint: cd Sources && swiftlint -document: prebuild +document: build sourcekitten doc --spm-module $(source_binary_name) > $(build_path)/$(source_binary_name).json jazzy \ -s $(build_path)/$(source_binary_name).json \