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 - bin/deno
interprets: interprets:
- .ts # extensions: [ts, js] # nodejs.org for now
- .js extensions: ts
args: [deno, run]
build: build:
script: | script: |

View file

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

View file

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

View file

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

View file

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

View file

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