Giter Site home page Giter Site logo

Comments (6)

swwol avatar swwol commented on June 15, 2024

A bit more info on this: sourcery seems to be generating some .swift files and writing them to the system temp directory when it runs.. I think the build is seeing these as input files which is causing issues. Are these files required for sorcery to run and if not is there a way to prevent them from being generated?

from sourcery.

swwol avatar swwol commented on June 15, 2024

Specifically these files are appearing in temp directory:

AccessLevel.swift BytesRange.swift Diffable.generated.swift GenericRequirement.swift Protocol.swift Typealias.swift
Actor.swift Class.swift Diffable.swift Import.swift ProtocolComposition.swift Typed.generated.swift
Annotations.swift Closure.swift Documentation.swift JSExport.generated.swift Struct.swift Typed.swift
Array+Parallel.swift Coding.generated.swift Enum.swift Log.swift Subscript.swift Variable.swift
Array.swift Composer.swift Equality.generated.swift Method.swift TemplateContext.swift
AssociatedType.swift Definition.swift Extensions.swift Modifier.swift Tuple.swift
Attribute.swift Description.generated.swift FileParserResult.swift ParserResultsComposed.swift Type.swift
AutoHashable.generated.swift Dictionary.swift Generic.swift PhantomProtocols.swift TypeName.swift

from sourcery.

krzysztofzablocki avatar krzysztofzablocki commented on June 15, 2024

do you have .swifttemplates?

from sourcery.

swwol avatar swwol commented on June 15, 2024

I do - (it's the .swifttemplate used by swiftymocky) I delved into the source code a little and kinda understand what is going on now. Thinking of making a fork which allows an argument to set a custom build directory, which could be the plugins packageWorkDirectory. This should be different for every target so I think will resolve the issue I am having. Do you think that would be a good way forward?

from sourcery.

krzysztofzablocki avatar krzysztofzablocki commented on June 15, 2024

a PR with optional build directory sounds good to me

from sourcery.

vykut avatar vykut commented on June 15, 2024

Hi @swwol, we are trying to achieve the build the same plugin for our iOS app which is modularized extensively using SPM. could you share how you achieved this for your own needs?

Thank you,
Victor

from sourcery.

Related Issues (20)

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.