4 # These are used to rename the executable to lrc without renaming the package
5 source_binary_name = lyricli
6 target_binary_name = lrc
7 install_path = /usr/local/bin
8 source_binary_path = $(build_path)/$(configuration)/$(source_binary_name)
9 install_binary_path = $(install_path)/$(target_binary_name)
11 # Default to release configuration on install
12 install: configuration = release
17 swift build --build-path $(build_path) --configuration $(configuration)
20 cp $(source_binary_path) $(install_binary_path)
26 cd Sources && swiftlint
29 sourcekitten doc --spm-module $(source_binary_name) > $(build_path)/$(source_binary_name).json
31 -s $(build_path)/$(source_binary_name).json \
35 --author_url https://github.com/lyricli-app \
36 --github_url https://github.com/lyricli-app/lyricli \
37 --module-version 0.2.0 \
43 .PHONY: build install test clean lint