diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 18 |
1 files changed, 16 insertions, 2 deletions
@@ -3,8 +3,22 @@ derived_data_path := ~/Library/Developer/Xcode/DerivedData sparkle_path := $(shell find $(derived_data_path) -type d -path '*artifacts/sparkle/Sparkle' -print -quit) build_directory := builds sparkle_account := tranquil.systems +deploy_host := deploy@conchos.bdr.sh +deploy_path := /srv/http/build.r.bdr.sh/map -distribute: archive package generate_appcast +distribute: archive package notarize repackage generate_appcast sign_distributable upload + +sign_distributable: + @scripts/sign.sh "$(project_name)" "$(build_directory)" + +upload: + @scripts/upload.sh "$(project_name)" "$(build_directory)" "$(deploy_host):$(deploy_path)" + +notarize: + @scripts/notarize.sh "$(project_name)" "$(build_directory)" + +repackage: + @scripts/package.sh "$(project_name)" "$(build_directory)" build: @xcodebuild build -scheme Map @@ -30,4 +44,4 @@ format: lint: @swift format lint -r . -.PHONY: package prepare archive generate_appcast package distribute format lint build test +.PHONY: package prepare archive generate_appcast package distribute format lint build test notarize sign_distributable upload repackage |