Skip to content

Commit

Permalink
chore(development): make script fail if commands fail
Browse files Browse the repository at this point in the history
  • Loading branch information
stfsy committed Jun 21, 2024
1 parent e412be1 commit cfa1371
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions run-dev.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#!/bin/bash

set -exu

# replace duplicate footer tag
sed -i 's/<footer/<div/g' ./node_modules/@vuepress/theme-default/lib/client/components/PageMeta.vue
sed -i 's/<\/footer>/<\/div>/g' ./node_modules/@vuepress/theme-default/lib/client/components/PageMeta.vue
sed -i 's/<footer/<div/g' ./node_modules/@vuepress/theme-default/lib/client/components/VPPageMeta.vue
sed -i 's/<\/footer>/<\/div>/g' ./node_modules/@vuepress/theme-default/lib/client/components/VPPageMeta.vue

npm run docs:serve

0 comments on commit cfa1371

Please sign in to comment.