Skip to content

Commit

Permalink
Remove napi build artefacts
Browse files Browse the repository at this point in the history
  • Loading branch information
fmarek-kindred committed Sep 4, 2024
1 parent 817e02b commit c33f7e2
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions packages/cohort_sdk_js/scripts/postinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,24 @@ cp ./index.js ./index.d.ts ./package.json "$CURRENT_DIR/"

cp ./cohort_sdk_js* "$CURRENT_DIR/"

cd $CURRENT_DIR
echo ""
echo "Changing to ${CURRENT_DIR}"
cd "${CURRENT_DIR}"

echo "Finishied preparing node module 'cohort_sdk_js'. The content is"
echo ""
echo "Current directory is"
pwd
ls -lah

echo "Cleaning up"
echo ""
echo "Cleaning up after build..."

rm -rf $CURRENT_DIR/dist
rm -rf "${CURRENT_DIR}/dist"

echo "Current directory is"
echo ""
echo "The content now"
pwd

ls -lah

echo ""
echo "Finishied preparing node module 'cohort_sdk_js'"

0 comments on commit c33f7e2

Please sign in to comment.