Coder Social home page Coder Social logo

Comments (3)

runeimp avatar runeimp commented on September 3, 2024

Casing doesn't matter to Just. You can also have some_file-name.just.

When you execute Just it searched the current directory and those going towards the root directory looking for a Justfile of some sort. It does not check subdirectories to the current directory unless specifically told to do so. Like how you mentioned with foo/my-recipe. It worked there because you specified the directory as part of the 1st argument so Just checked if that directory existed then checked that directory for a Justfile to see if there was a my-recipe recipe to call.

from just.

rocket-matt avatar rocket-matt commented on September 3, 2024

I have discovered it works if you use just foo/ (note the slash).

So, if this is intended functionality (I can see why it might be because there might be a recipe called foo), then disregard this issue.

However, perhaps the functionality of looking for foo/justfile when typing just foo if and only if there isn't a foo recipe in the root would be useful?

from just.

runeimp avatar runeimp commented on September 3, 2024

Yes that is intended functionality.

I'm pretty sure this was brought up early in Just's development and was decided against. I like that sort of functionality myself, but it does lead to potential ambiguity and this tool is now used in lots (several thousand ?) of CI/CD setups so even more likely not to change at this point.

from just.

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.