An effort to have a throwable alternative to using files
- ZFile for macOS and iOS.
- Mocks for both
ZFile is setup using Highway
For the first use do
#!/bin/sh cd /Users/stijnwillems/Documents/dooZ/Open/template-sourcery/ZFHighwaySetup # Build setup executable if [ ! -f ./.build/x86_64-apple-macosx10.10/release/ZFHighwaySetup ]; then echo "TSHighwaySetup, not found - building for source" swift build --product TSHighwaySetup -c release --static-swift-stdlib fi # Execute the script ./.build/x86_64-apple-macosx10.10/release/ZFHighwaySetup # Allow push on success
After that for every push you do code will be generated and tast will run before the push can complete successfully.
Add ZFile to your project
Preferred is using swift package
.package(url: "https://github.com/doozMen/ZFile", from: "2.0.0"),
swift build in your project
Building is done with Xcode and not with Carthage. You can chose to checkout with submodules or just checkout without building.
ZFile.xcodeproj as sub project to your project