File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,11 @@ You can build for Linux (via Docker) using `-L`, e.g.:
2727pkg -L build
2828```
2929
30+ To run ` pkg ` without shellcode you can do eg. ` pkgx +brewkit -- pkg build ` ,
31+ this is necessary because ` pkg ` is not listed as a provided program by brewkit
32+ since many other projects have decided to provide ` pkg ` and we didn’t want
33+ to trump them.
34+
3035## Some Details
3136
3237* The ` pkg build ` environment ensures you have a c/c++ compiler and ` make `
Original file line number Diff line number Diff line change 11#!/usr/bin/env -S pkgx +deno bash +exo pipefail
22
33cmd() {
4+ d="$(cd "$(dirname "$0")"/.. && pwd)
5+
46 deno run -A - <<EoTS
5- import parse_pkg_str from '.. /lib/run/parse-pkg-str.ts'
7+ import parse_pkg_str from '$d /lib/run/parse-pkg-str.ts'
68 import { hooks } from 'pkgx'
79
810 const pkg = await parse_pkg_str('$1')
You can’t perform that action at this time.
0 commit comments