diff --git a/MP42Foundation b/MP42Foundation index e7c7b80..79c251c 160000 --- a/MP42Foundation +++ b/MP42Foundation @@ -1 +1 @@ -Subproject commit e7c7b80e8fec5a4687b0cd5c2ae67584e26792e4 +Subproject commit 79c251c6dcd1f49f5d35563162d86f48d30707ae diff --git a/README.md b/README.md index 282aeb6..7ea0764 100644 --- a/README.md +++ b/README.md @@ -40,18 +40,33 @@ AppleScript metadata fetch command. ## Build and run -Clone the repository and include all submodules +Everything the app builds from lives on this server: the `MP42Foundation` submodule, and inside it a +nested `contrib` submodule (the vendored mp4v2 sources). Both are `Scott-Files` repos cloned over SSH, +so an SSH key registered with your Gitea account is required. + +Clone the repository with all submodules ``` git clone --recurse-submodules gitea@git.technomancer.com:Scott-Files/Subler.git ``` -If you already cloned without submodules, `cd` into the `Subler` directory and fetch them with +If you already cloned without submodules, `cd` into the `Subler` directory and fetch them (including the +nested one) with ``` git submodule update --init --recursive ``` +To bring an existing checkout up to date: + +``` +git pull --rebase +git submodule update --init --recursive +``` + +The only dependency not hosted here is Sparkle (auto-updates), which Xcode resolves from its upstream +via Swift Package Manager on first build. + Open `Subler.xcodeproj` in Xcode, select the *Subler* scheme (`Product` → `Scheme` → `Subler`) and press Run. Command-line builds need a deployment-target override on recent toolchains, which refuse the projects' 10.13 target: