Skip to content
Automate development tasks using Swift.
Branch: master
Clone or download
Pull request Compare This branch is 429 commits ahead, 33 commits behind ChristianKienle:master.

README.md

Highway

Test - Integrate - Build status: @dooZdev Build Status @Bolides Build Status

Develop on Highway

swift build --configuration release --static-swift-stdlib -Xswiftc -DXcode -Xswiftc -DMacOS
# will output where the executable is build, usually
./.build/x86_64-apple-macosx10.10/release/HWSetup
# after running this sourcery is setup too and you can generate code when needed

Used Highway in your project

If you do not yet have a Package.swift run swift package init

add .package(url: "https://www.github.com/doozMen/Highway", from: "2.3.0")

do swift build

choose frameworks to add. For example HWSetup runs sourcery for highway, swiftformat and performs tests.

// Add a target in Package.swift
.target(
            name:   "HWSetup",
            dependencies: [
                    "Arguments",
                    "Errors",
                    "SignPost",
                    "SourceryAutoProtocols",
                    "SourceryWorker",
                    "SwiftFormatWorker",
                    "Terminal",
                    "ZFile"
            ]

swift package generate-xcodeproj

You should not add the generated xcode project to git, just use it to Develop

🚀 Done

You can’t perform that action at this time.