Code Monkey home page Code Monkey logo

tea-setup's Introduction

tea

  • install.sh is delivered when you curl tea.xyz.
  • This repository also provides the tea GitHub Action.

GitHub Action 0.16.0

- uses: teaxyz/setup@v0

Installs tea, your dependencies (computed from your developer environment), adds your deps to PATH and exports some other tea’ish variables like VERSION.

See action.yml for all inputs and outputs, but here’s the usual ones:

- uses: teaxyz/setup@v0
  with:
    +: |
      deno.land^1.30
      rust-lang.org^1.60

Our packages are named after their homepages, to see what is available you can browse the pantry on our website: tea.xyz (we agree this isn’t great UX)

Magic

We cannot install our shell magic into GitHub Actions. So unless you manually add a package with +: you will need to ensure it is called with a tea prefix, eg. tea npx.

Interesting Usages

At tea, we consider the version in the README the definitive version. Thus we use GitHub Actions to automatically tag and publish that version when the README is edited and the version changes.

See our CI scripts for details.

tea Installer

To install tea:

$ sh <(curl tea.xyz)

# - installs to `~/.tea`
# - if tea is already installed, the script instead checks for updates

To use tea to run a command in a temporary sandbox:

$ sh <(curl -Ssf tea.xyz) gum spin -- sleep 5

# - if tea is installed, uses that installation to run gum
# - if tea is *not* installed, downloads gum and its deps to a safe and
#   temporary location and executes the command

NOTE we omit https:// for clarity, please include it in all your usages.

Options

  • sh <(curl tea.xyz) --yes assumes affirmative for all prompts
  • sh <(curl tea.xyz) --prefix foo change install location (you can use this option to force a re-install)
  • sh <(curl tea.xyz) --version 1.2.3 install a specific version of tea

 

Tasks

Check

Run this with xc check.

node --check ./action.js

tea-setup's People

Contributors

abevier avatar abitrolly avatar branchvincent avatar icidasset avatar jhheider avatar maaslalani avatar magnusviri avatar mxcl avatar nihaals avatar tanmaypatil105 avatar wolfymaster avatar

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.