]> git.r.bdr.sh - rbdr/lyricli/blobdiff - Makefile
Merge branch 'release/1.0.0'
[rbdr/lyricli] / Makefile
index d2449967d4ae1d0b1e2766e30a58350ec6af638f..8428b44460bdc9b1a236e01acf397dfb05da0c07 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -14,10 +14,7 @@ install: configuration = release
 
 default: build
 
 
 default: build
 
-prebuild:
-       mkdir -p $(build_path)
-
-build: prebuild
+build:
        swift build --build-path $(build_path) --configuration $(configuration)
 
 install: build
        swift build --build-path $(build_path) --configuration $(configuration)
 
 install: build
@@ -29,7 +26,7 @@ test: build
 lint:
        cd Sources && swiftlint
 
 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 \
        sourcekitten doc --spm-module $(source_binary_name) > $(build_path)/$(source_binary_name).json
        jazzy \
                -s $(build_path)/$(source_binary_name).json \