Giter VIP home page Giter VIP logo

Comments (5)

bacongobbler avatar bacongobbler commented on July 25, 2024 2

Please feel free to look into this. Iā€™m on holiday break.

from fish-food.

bacongobbler avatar bacongobbler commented on July 25, 2024 1

There are some issues with getting gofish tank working in the Linux subsystem because it's not evalable.

huh? It was designed to be eval-able.eval is the primary use case for gofish tank.

Easiest way to handle this is regex for os = "darwin". Any good alternatives?

You could try catching that error message and exit if another error message is found.

from fish-food.

arbourd avatar arbourd commented on July 25, 2024

Is something you would be interested in entertaining @bacongobbler? If not I can close it. nbd. i can PR the changes if you're cool with it.

from fish-food.

arbourd avatar arbourd commented on July 25, 2024

Like most things I under estimated how much work this could be. Couple of issues I've experienced:

  1. Obvious differences between pwsh and bash. Should we use pwsh for Windows or just bash on all platforms? There are some issues with getting gofish tank working in the Linux subsystem because it's not evalable.
  2. We need a way to determine if the Food supports the current architecture/platform. gofish will return 1 if you try to gofish install vagrant on Darwin for example. Easiest way to handle this is regex for os = "darwin". Any good alternatives?

from fish-food.

arbourd avatar arbourd commented on July 25, 2024

huh? It was designed to be eval-able.eval is the primary use case for gofish tank.

Ya, but in Windows' Linux Subsystem and with bash, eval $env.GOFISH_HOME won't work as gofish tank throws out pwsh, not sh. Would need export style script.

If the Windows tests are to be completely in pwsh (and not using bash/subsystem), gofish.exe tank | iex works juuuust fine šŸ™‚ If we want to use bash in Windows we'll need some sort of alternative to export the env vars.

As an aside, perhaps gofish tank should be shell aware and throw out export in bash on Windows?

You could try catching that error message and exit if another error message is found.

trap?

from fish-food.

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.