Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 4 additions & 11 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions docs/scripting.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,5 +111,19 @@ show it off.

We make use of `pkgx` scripting all over our repositories. Check them out!

## Ultra Portable Scripts

Requiring a `pkgx` shebang is somewhat limiting. Instead you can use our `cURL`
one-liner coupled with `+pkg` syntax to temporarily install pkgs and utilize
them in your scripts:

```sh
#!/bin/bash

eval "$(sh <(curl https://pkgx.sh) +git)"

which git # prints soemthing like /tmp/pkgx/git-scm.org/v2.46.3/bin/git
```

[shebang]: https://en.wikipedia.org/wiki/Shebang_(Unix)
[Scriptisto]: https://github.com/igor-petruk/scriptisto
19 changes: 15 additions & 4 deletions tea.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
# https://tea.xyz/what-is-this-file
#
# DO NOT REMOVE OR EDIT THIS WARNING:
#
# This file is auto-generated by the TEA app. It is intended to validate ownership of your repository.
# DO NOT commit is file or accept any PR if you don't know what this is.
# We are aware that spammers will try to use this file to try to profit off others work.
# We take this very seriously and will take action against any malicious actors.
#
# If you are not the owner of this repository, and someome malicously opens a commit with this file
# please report it to us at support@tea.xyz.
#
# A consitution without this header is invalid.
---
version: 1.0.0
version: 2.0.0
codeOwners:
- "0x5E2DE4A68df811AAAD32d71fb065e6946fA5C8d9" #mxcl
- "0x2faad60792b0594fB37592BA25Bd7387Fbd35191" #thomas-borrel
- "0xAb9A89fA4Bbd04Fc37116F0d7766866D001EA704" #jhheider
- '0x060F08FE34282a3783D2544A1f0804d9FEaAb283'
- '0x2e20f31d47Fe7Aa111dCC67Cb0eC6A411254Ae6e'
quorum: 1