Skip to content

Commit

Permalink
improve shell script
Browse files Browse the repository at this point in the history
  • Loading branch information
di-sukharev committed Nov 26, 2023
1 parent 374073d commit f0d81bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ unzip -oqd "$install_dir" "$exe.zip" ||
cat <<EOF >"$exe"
#!/usr/bin/env bash
set -euo pipefail
bun $install_dir/src/cli.ts "\$@"
bun $install_dir/cli.js "\$@"
EOF

# Make the wrapper executable
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"scripts": {
"start": "bun run cli.ts",
"test": "bun test",
"posttest": "bun run __tests__/sandbox/clean.ts"
"posttest": "bun run __tests__/sandbox/clean.ts",
"build": "bun build ./cli.ts --target=bun --outdir=out"
},
"devDependencies": {
"@types/ini": "^1.3.31",
Expand Down

0 comments on commit f0d81bb

Please sign in to comment.