Coder Social home page Coder Social logo

elm-version's People

Contributors

dependabot[bot] avatar lydell avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

elm-version's Issues

Support Elm 0.18?

Elm 0.18 and older are a little bit trickier to support than Elm 0.19 and later, because older Elm versions used multiple binaries (elm, elm-make, elm-package, elm-reactor, elm-repl) instead of just one.

But I have an idea how it could be done!

  1. Extract everything from tar archives.
  2. mv elm elm-real
  3. Create an elm shell script that delegates to the other binaries and falls back to elm-real

I have not had a need for this myself yet, so I haven’t implemented this.

Let me know if you need Elm 0.18 support!

Windows support

Windows should be supported!

I haven’t developed on Windows for almost ten years, so I have no idea what’s it like anymore.

Currently, elm-version is a shell script that tries to be as portable as possible – it even works on Alpine Linux! Is it possible to run sh scripts on Windows these days? I’m thinking about Windows Subsystem for Linux and the new https://github.com/microsoft/terminal. If so, that would be awesome!

Other ideas:

  • Make a PowerShell version in addition to the shell script.
  • Make a cross-platform Node.js version in addition to the shell script. The shell script is probably going to be more performant.
  • Make a cross-platform version in Haskell, Rust, Go or whatever in addition to the shell script. Maybe the shell script is good for CI and Docker, and the other version could be optimized for humans.

I think that we need to make an installer, just like Elm, that automatically adds the binaries to PATH. Because manually adding stuff to PATH in the Windows settings is tedious.

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.