Git Product home page Git Product logo

Comments (4)

seancorfield avatar seancorfield commented on August 29, 2024

I'm still having a hard time understanding what you're suggesting.

To have deps-new process a template, it needs two things: a template "name" (to produce a path to template.edn relative to the classpath and for that to be on the classpath :)

So, generally, you need something like:

clojure -Sdeps '{:deps {io.github.the-org/the-lib {:git/tag "v1.2.3" :git/sha "a1b2c3d"}}}' -Tnew :template some.name/space :name your.project/name

The coordinates exist just to get stuff on the classpath (thank you, CLI). The template name exists just to figure out the relative path to template.edn. There's no concept of a "project" involved -- deps-new doesn't know anything about how the classpath was constructed, and it doesn't use tools.deps.alpha, although since tools.build brings that in, it could (but I'd rather stick with tools.build to create a basis). There's no deps.edn in play here.

from deps-new.

SevereOverfl0w avatar SevereOverfl0w commented on August 29, 2024

Ah, I see. I hadn't figured that out yet... I also hadn't noticed the limitation on requiring git/local coordinates either. Yeah, I can't see a straightforward way to handle this until tdeps supports activating aliases in other projects.

from deps-new.

seancorfield avatar seancorfield commented on August 29, 2024

Okay to close this out then?

from deps-new.

SevereOverfl0w avatar SevereOverfl0w commented on August 29, 2024

I think so, yeah!

from deps-new.

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.