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
Help us keep the lights on
4.0.3 - Jul 26, 2019
3.0.7 - Jul 22, 2019
Different way of generating protocols and mocks
1.0.1 - Jan 30, 2019
1.0 - Dec 29, 2018
- read & write and throw
- iterate folders/files
- mock files & folders
- mock Bundle