Skip to content

Commit

Permalink
chore: scripts/resetdeps.sh checks for cmark-gfm bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
fritzy committed Oct 12, 2022
1 parent 6c5c2a8 commit 877829e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/resetdeps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,9 @@ git checkout node_modules
node . i --ignore-scripts --no-audit --no-fund "$@"
node . rebuild --ignore-scripts
node . run dependencies --ignore-scripts
# check for cmark-gfm bindings
cmarkbinding=$(find `npm ls cmark-gfm --parseable \
| head -n 1` -name binding.node)
if [[ ! $cmarkbinding ]]; then
node . rebuild cmark-gfm
fi

0 comments on commit 877829e

Please sign in to comment.