Skip to content
An effort to have a throwable alternative to using files
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Sources
Tests
ZFHighwaySetup
.gitignore
.gitmodules
LICENSE
Package.resolved
Package.swift
README.md

README.md

ZFile Build Status

An effort to have a throwable alternative to using files

It builds:

  1. ZFile for macOS and iOS.
  2. FoundationGenericHelpers
  3. Mocks for both

Build setup

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

Swift Package

Preferred is using swift package add .package(url: "https://github.com/doozMen/ZFile", from: "2.0.0"),

then to swift build in your project


Carthage

Building is done with Xcode and not with Carthage. You can chose to checkout with submodules or just checkout without building.

Integrate ZFile

Add ZFile.xcodeproj as sub project to your project

You can’t perform that action at this time.