add interprets: key to appropriate packages (#33)

* go needs GOCACHE
This commit is contained in:
Jacob Heider 2022-11-25 11:03:11 -05:00 committed by GitHub
parent 157c0103ab
commit 01bbd429e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 24 additions and 3 deletions

View file

@ -9,8 +9,9 @@ provides:
- bin/deno
interprets:
- .ts
- .js
# extensions: [ts, js] # nodejs.org for now
extensions: ts
args: [deno, run]
build:
script: |

View file

@ -10,7 +10,8 @@ provides:
- bin/go
interprets:
- .go
extensions: go
args: [go, run]
dependencies:
# `cgo` requires a C compiler
@ -25,6 +26,9 @@ build:
go.dev: '*'
working-directory: src
script: |-
# `make.bash` complains about unset GOCACHE and HOME otherwise
export GOCACHE="$(pwd)/.gocache"
./make.bash
# cleanup

View file

@ -16,6 +16,10 @@ dependencies:
provides:
- bin/node
interprets:
extensions: js
args: node
build:
dependencies:
tea.xyz/gx/cc: c99

View file

@ -79,3 +79,7 @@ provides:
- bin/streamzip
- bin/xsubpp
- bin/zipdetails
interprets:
extensions: pl
args: perl

View file

@ -12,6 +12,10 @@ provides:
- bin/python
- bin/python3 #FIXME this is only true of python 3
interprets:
extensions: py
args: python
dependencies:
# recommended (but none are actually required)
zlib.net: 1

View file

@ -52,5 +52,9 @@ provides:
- bin/ri
- bin/ruby
interprets:
extensions: rb
args: ruby
companions:
rubygems.org: '*'