Coder Social home page Coder Social logo

jstrieb / just.sh Goto Github PK

View Code? Open in Web Editor NEW
126.0 4.0 2.0 300 KB

Compile Justfiles to portable shell scripts

Home Page: https://jstrieb.github.io/just.sh/

License: GNU General Public License v3.0

Python 99.35% Just 0.65%
bash bash-script bash-scripting just justfile posix posix-sh shell shell-script shell-scripting

just.sh's Introduction


Scammers have been impersonating me. I will never send emails asking for cryptocurrency or offering to “hack” people. If you receive emails from people claiming to be me, please forward them to me.

just.sh's People

Contributors

jstrieb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

just.sh's Issues

Polyfilling sha256

You have a comment in the readme about being unable to make sha256 portable without relying on Python.

Well, there's at least partial progress to be made by using shasum as a fallback. For example:

if command -v sha256sum >/dev/null
then
    sha256sum ...
else
    shasum -a 256 ...
fi

I believe this will cover basically every modern practically usable system that has a /bin/sh.

In particular, to my knowledge/memory, this covers

  1. basically every Linux distro (sha256sum installed by default),
  2. Git Bash, BusyBox-w32, and the like on Windows, and
  3. MacOS (shasum installed by default).

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.