Git Product home page Git Product logo

spm-build-tools's Introduction

BuildSystemPlugins

THIS SERVES AS AN EXAMPLE AND IS NOT PRODUCTION READY

With the release of latest RC from Xcode 13.4 we can now have pre-/post-build scripts on the package level

This package introduces SwiftGen, SwiftLint and Sourcery to the DeliveryCheckMultiProblem package

Source file generation, as in SwiftGen generation for the localization, images, storyboards and as in Sourcery generating mocks in a Generated folder are directly saved in the derived data folder for the target.. so you won't see it but it's in the build

Two use cases for Mocks generation:

  • One for a protocol in the interface mocked in the mocks target
  • One for a protocol in the implementation mocked in the unit test and snapshot test target (say bye bye to writing duplicate mocks)

Main difference between cuckoo and Sourcery is that Sourcery does not force us to use a runtime library to test things.. it's merly only writing the mocks for us

Swiftlint rules for errors and warnings are all enforced as warnings only on the source code of the target(s) you're building and would require fixing before you can build

spm-build-tools's People

Contributors

karim-alweheshy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.