Coder Social home page Coder Social logo

drewkiino / firebolt Goto Github PK

View Code? Open in Web Editor NEW
13.0 4.0 3.0 401 KB

A dependency injection framework for Swift

Home Page: https://medium.com/@andrewaquino118/clean-dependency-injection-with-firebolt-swift-95db68662a87

License: MIT License

Swift 94.84% Ruby 3.06% Makefile 2.10%
dependency-injection firebolt swift dependency injection framework functional di resolver resolve drewkiino koin kotlin dagger dependencies management multiple-resolvers protocol-conformance dependencies-registered

firebolt's Issues

Unable to use with Tuist

I'm trying to integrate Firebolt through my Tuist manifest in my dependencies.swift file.

Dependencies.swift

let dependencies = Dependencies(
    carthage: [
    ],
    swiftPackageManager: [
      .remote(url: "https://github.com/DrewKiino/Firebolt.git", requirement: .upToNextMajor(from: "0.4.9")),
    ],
    platforms: [.iOS]
)

Project.swift

let resolverTarget = Project.frameworkTarget(name: "Resolver", dependencies: [.external(name: "Firebolt")])

extension Project { 
public static func frameworkTarget(name: String, dependencies: [TargetDependency] = []) -> Target {
    return Target(
      name: name,
      platform: .iOS,
      product: .framework,
      bundleId: "com.bundle.\(name)",
      infoPlist: .default,
      sources: ["Targets/\(name)/Sources/**"],
      dependencies: dependencies
    )
  }
}

Error command:

tuist generate
`Firebolt` is not a valid configured external dependency

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.