Skip to content

Commit

Permalink
Update arrpc.spec
Browse files Browse the repository at this point in the history
Signed-off-by: madomado <[email protected]>
  • Loading branch information
madonuko authored Mar 31, 2024
1 parent bd7d413 commit cf1ba29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions anda/misc/arrpc/arrpc.spec
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ sed -i -E 's@server\.on[^\n]+;@\0}\nmain();@' src/index.js

%build
npm i esbuild pkg
npx esbuild --bundle --platform=node --target=node18 --outdir=dist ./src/index.js
npx pkg -t node18-linux-x64 -o arrpc ./dist/index.js
npx esbuild --bundle --platform=node --target=node18 --outfile=bundle.js ./src/index.js
npx pkg -t node18-linux-x64 -o arrpc bundle.js

%install
install -D -m755 arrpc %buildroot%_bindir/arrpc
Expand Down

0 comments on commit cf1ba29

Please sign in to comment.