Skip to content

Commit

Permalink
chore(internal): conditionally include bin during build output (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-bot authored and rattrayalex committed Aug 12, 2023
1 parent 4ba2c6f commit 58ac305
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build
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 58ac305

Please sign in to comment.