Skip to content

Commit

Permalink
Try to get sync-versions working on Mac OS.
Browse files Browse the repository at this point in the history
  • Loading branch information
pfh committed Dec 17, 2023
1 parent 5b85dc2 commit 51dcb92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"sideEffects": false,
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"sync-versions": "VERSION=$(grep '^Version:' DESCRIPTION | cut -d' ' -f2) && sed -i '/^ \\\"version\\\"/ c\\ \\\"version\\\": \\\"'$VERSION'\\\",' package.json && sed -i '/^ version:/ c\\ version: \\\"'$VERSION'\\\"' inst/htmlwidgets/langevitour.yaml && hatch version $VERSION",
"sync-versions": "VERSION=$(grep '^Version:' DESCRIPTION | cut -d' ' -f2) && sed -i '' 's/^ \\\"version\\\":.*/ \\\"version\\\": \\\"'$VERSION'\\\",/' package.json && sed -i '' 's/^ version:.*/ version: \\\"'$VERSION'\\\"/' inst/htmlwidgets/langevitour.yaml && hatch version $VERSION",
"js-build": "npx tsc && npx webpack",
"js-build-quick": "npx tsc && npx webpack --mode=development",
"js-docs": "npx typedoc src/langevitour.ts --out docs/jsdoc/ --excludeNotDocumented --readme none",
Expand Down

0 comments on commit 51dcb92

Please sign in to comment.