A macOS CLI tool that exports original photos and videos from the macOS Photos library using PhotoKit.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add Makefile with install/uninstall targets

+29 -3
+16
Makefile
··· 1 + PREFIX ?= /usr/local 2 + 3 + build: 4 + swift build -c release 2>&1 | xcsift 5 + 6 + install: build 7 + install -d $(PREFIX)/bin 8 + install .build/arm64-apple-macosx/release/ladder $(PREFIX)/bin/ladder 9 + 10 + uninstall: 11 + rm -f $(PREFIX)/bin/ladder 12 + 13 + test: 14 + swift test 2>&1 | xcsift 15 + 16 + .PHONY: build install uninstall test
+13 -3
README.md
··· 19 19 5. Computes SHA-256 inline while streaming data to disk (no second pass over the file) 20 20 6. Writes a JSON `ExportResponse` to stdout 21 21 22 - ## Building 22 + ## Installing 23 23 24 24 Requires macOS 13+ and Swift 5.9+. 25 25 26 26 ``` 27 - swift build -c release 27 + make install 28 28 ``` 29 29 30 - The binary is at `.build/release/ladder`. 30 + This builds a release binary and installs it to `/usr/local/bin/ladder`. To install elsewhere: 31 + 32 + ``` 33 + make install PREFIX=~/.local 34 + ``` 35 + 36 + To uninstall: 37 + 38 + ``` 39 + make uninstall 40 + ``` 31 41 32 42 ## Usage 33 43