Skip to content

Commit

Permalink
test: use echo
Browse files Browse the repository at this point in the history
  • Loading branch information
thucpn committed Mar 21, 2024
1 parent 6ec1b40 commit fbe1021
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
npm run clean && ncc build ./index.ts -o ./dist/ --minify --no-cache --no-source-map-register

# add shebang to the top of dist/index.js
sed -i '1s/^/#!\/usr\/bin\/env node\n\n/' ./dist/index.js
echo '#!/usr/bin/env node ' | cat - dist/index.js > temp && mv temp dist/index.js

0 comments on commit fbe1021

Please sign in to comment.