Skip to content

Commit

Permalink
chore(internal): conditionally include bin during build output (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-bot authored and Caleb Siu committed Aug 15, 2023
1 parent 94a83be commit 7dfe154
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ cp -rp src README.md dist
for file in LICENSE CHANGELOG.md; do
if [ -e "${file}" ]; then cp "${file}" dist; fi
done
if [ -e "bin/cli" ]; then
mkdir dist/bin
cp -p "bin/cli" dist/bin/;
fi
# this converts the export map paths for the dist directory
# and does a few other minor things
node scripts/make-dist-package-json.cjs > dist/package.json
Expand Down

0 comments on commit 7dfe154

Please sign in to comment.