Comments (9)
One thing to keep in mind is that installers mentioned in the README should also be migrated to the new location.
from neil.
That's an interesting approach! I'd be open to that. I think what should also happen is a check that checks if the generated script still runs before we release.
from neil.
Yes, exactly. It doesn't matter that much. We could move the whole prelude to the neil script so we have only one add-deps call instead of two then.
from neil.
Hm, o no wait, we could get rid of the prelude thing I think, since the deps would be in deps.edn already in the project.
from neil.
Hmm, I think all packages rely on the script being in the root so maybe it's not a good idea to change this...
from neil.
Hmm, I think all packages rely on the script being in the root so maybe it's not a good idea to change this...
One option would be to have a GitHub Action on main
that would run bb gen-script && git add -f neil
on a separate branch, such as release
.
This means we could commit to main
without the script, but we would have to create tags off of the release
branch. I don't think this would require any changes to the packages since they would still use the same tag-based URL.
What do you think about this?
from neil.
Cool, I can start looking into this.
from neil.
@rads I might have a slightly better idea. The neil script can simply be (babashka.deps/add-deps {:deps {org.babashka/neil {:git/url "..." :git/tag "..." :git/sha "..."}})
and then we can periodically update it.
from neil.
@borkdude: I was originally thinking this might be a drawback because the neil
script would incur additional startup time after the brew install
. However, now I realize that we are already calling babashka.deps/add-deps
in prelude
so we are fetching network dependencies on the first run anyways. With that in mind, I think using a simple shim like you're suggesting is a good solution.
from neil.
Related Issues (20)
- Make `:version` consistent over `search` and `dep add` commands HOT 1
- neil does not find a newer version of a library that antq does HOT 2
- `neil new`: Support Git repos without tags
- add support to add files which describe "development" environments HOT 2
- Error on dep update HOT 1
- Unable to install `com.cnuernber/ham-fisted` with Neil 0.1.59 HOT 2
- `neil dep upgrade` should update unstable versions HOT 2
- Error when running `neil --version` on versions `>=0.1.58` HOT 1
- Suggestion: `neil dep local <lib> <path>` HOT 2
- neil dep upgrade drops dep :exclusions HOT 2
- Neil completely crashes on fresh install HOT 24
- `neil dep add` exits with code 0 on both failure and success HOT 1
- Neil new behaviour different for windows HOT 4
- NPE on `neil dep upgrade ` HOT 5
- suggestion: support `neil add nrepl -with-cider` HOT 3
- Documentation: add git as a requirement HOT 1
- Feature request: a flag that does what `dep search` already does, but works for multiple artifacts and outputs a string suitable for `-Sdeps` HOT 3
- Neil does not use the latest version of slipset/deps-deploy in the `neil add build` command
- suggestion: use DEPS_CLJ_TOOLS_DIR to detect DEPS_CLJ_TOOLS_VERSION HOT 2
- Newlines should be added when adding dependencies HOT 2
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 neil.