Comments (5)
Why? What problem does that solve?
deps-new
is designed to be installed as a CLI tool but you can also use it as a git dep.
from deps-new.
in the old mvn world, there is :mvn/version "RELEASE"
, but I don't find the equivalent in the new :git/tag way?
from deps-new.
If you install it as a tool, there's a built-in way to update tools to the latest version.
Can you explain the use case where you're trying to use this as a library instead of a tool?
from deps-new.
check the linked deps.edn for example: https://github.com/sg-qwt/nixos/blob/050fbb94e067645610dbe8f929776820c7f2a290/config/clojure/deps.edn
In the dev profile, I can simply defined that declaratively and call it a day. No need to worry about update latest git tag and hash. But as said, if deps-new is solely designed as used of tool, that's fine by me. I personally prefer the old dep.edn way though. Not the new tool way.
The tool way is more a imperative workflow to me, ie: if i go to a new computer, I run clj -Ttools install, remove,update manually.
While deps.edn way is declarative, I declare the deps.edn once and link it to anywhere, thats all.
from deps-new.
FWIW, I keep my user config for the Clojure CLI in git too -- https://github.com/seancorfield/dot-clojure/tree/develop/tools -- and I include the tools installations that way too, so I can leverage the idiomatic clojure -Ttools
stuff for listing/updating etc.
deps-new
requires templates that are git or local deps so making deps-new
itself available as a Maven (Clojars) coordinate seems weird.
from deps-new.
Related Issues (20)
- scratch template does not use :name HOT 18
- Support loading template files through multiple deps HOT 3
- [Feature request] Add ability to use conditions in templates HOT 2
- how to build ci with aliases HOT 1
- add sr.ht and Codeberg as SCM domains HOT 6
- Consider not using .clj for extension of template source files HOT 3
- Consider supporting additional document formats like AsciiDoc? HOT 9
- Drop use of build-clj from templates HOT 1
- Update to non-alpha tools.deps HOT 1
- Consider moving pom.xml to template folder HOT 1
- Suggestion: Simpler DX when using this tool with custom templates. HOT 4
- [template] .tmpl files remain after creating a new project with template template HOT 3
- Add .portal/vs-code.edn to .gitignore
- When updating dependencies in deps.edn, the method for adjusting the dependency repository HOT 4
- Some of template seems too old to use HOT 3
- Running basic tests for a new app HOT 2
- Make deps-new more usable as a library HOT 1
- It should not be necessary to use -Sdeps to reference a third-party template HOT 3
- Release 0.7.1 has title 0.7.0 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deps-new.