GithubHelp home page GithubHelp logo

Comments (9)

kees- avatar kees- commented on July 20, 2024 1

Thanks for the opportunity to try! I'll either open a pr or comment back!

from neil.

borkdude avatar borkdude commented on July 20, 2024

Good catch! Do you want us to fix this or would you like to work on a PR yourself?

from neil.

rads avatar rads commented on July 20, 2024

@borkdude: Looks like we can close this issue now that #92 and #104 are merged.

from neil.

borkdude avatar borkdude commented on July 20, 2024

Somehow this still doesn't work for me.

When I run: neil dep add cheshire/cheshire --alias dude cheshire gets added as a top level dependency.

from neil.

borkdude avatar borkdude commented on July 20, 2024

@bsless was running into this issue this morning

from neil.

kees- avatar kees- commented on July 20, 2024

Hey there, oy, I haven't been lucky taking a stab at what should have been a one-shot fix! Sorry to have prolonged this issue!

Where were you guys running it from? I see that babashka/homebrew-brew doesn't have formulae files for the two most recent tags. So, the version I have installed from brew is 0.1.43 instead of 0.1.45 which I see was released a week before we addressed this issue.

I just tried running from the tag hosted on github and the alias flag worked for me. Or were you having issues with running the current code i.e from the repo?

from neil.

kees- avatar kees- commented on July 20, 2024

Just cross-referenced this as well with the new bbin (cool!):

brew uninstall neil # v0.1.43 from homebrew
brew install babashka/brew/bbin
echo -e '\npath+=(/Users/kees/.babashka/bbin/bin)' >> .zshrc && exec zsh
bbin install io.github.babashka/neil
neil --version # => neil 0.1.45

clj -Tnew lib :name test/test && cd test
neil dep add cheshire/cheshire --alias json
cat deps.edn

=>

{:paths ["src" "resources"]
 :deps {org.clojure/clojure {:mvn/version "1.11.1"}}
 :aliases
 {:test
  {:extra-paths ["test"]
   :extra-deps {org.clojure/test.check {:mvn/version "1.1.1"}
                io.github.cognitect-labs/test-runner
                {:git/tag "v0.5.1" :git/sha "dfb30dd"}}}
  :build {:deps {io.github.seancorfield/build-clj
                 {:git/tag "v0.8.2" :git/sha "0ffdb4c"}}
          :ns-default build}
  :json {:extra-deps {cheshire/cheshire {:mvn/version "5.11.0"}}}}}

And it does seem to work fine.

Hadn't known this but a duplicate command installed via brew appears to override what's set in the path, is it possible that's what's going on?

from neil.

borkdude avatar borkdude commented on July 20, 2024

Aaaah, the brew package was behind. My bad.

from neil.

kees- avatar kees- commented on July 20, 2024

Np, your projects have grown to quite an ecosystem! I'm sure there are lots of moving parts. Thanks to you and your collaborators for all the great work

from neil.

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.