Giter VIP home page Giter VIP logo

Comments (4)

edouard-lopez avatar edouard-lopez commented on June 3, 2024

Awesome, lots of new interesting stuff!

I'm wondering about (status dirname) as pure support Fish 3.0.2, we can't use this new syntax but the old one is gone. What should we do?

I use a lot setup and teardown in pure, it's going to be tedious to do the migration... I will probably keep them, just add a call to them

from fishtape.

jorgebucaran avatar jorgebucaran commented on June 3, 2024

You can always use dirname:

dirname (status filename)

or cook something up with the string builtin.

set --local dirname (string split / --right --max=1 -- (status filename))[1]

I use a lot setup and teardown in pure, it's going to be tedious to do the migration... I will probably keep them, just add a call to them.

All you need to do is:

- function setup
  foobar
-end

-function teardown
-  piyopoyo
-end

@test ...
@test ...
@test ...

+ piyopoyo

from fishtape.

PatrickF1 avatar PatrickF1 commented on June 3, 2024

Think you might of typo'ed. Or maybe you're from the wonderful future (please take me with you!), but fish 3.2 doesn't exist yet. Do you mean 3.1.2 is required for (status dirname)?

from fishtape.

jorgebucaran avatar jorgebucaran commented on June 3, 2024

I am not from the future, but I did mean 3.2. You can use status dirname right now if you install Fish from the HEAD.

from fishtape.

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.