Skip to content

Commit

Permalink
ci: fix assets generation on windows machines (#1358)
Browse files Browse the repository at this point in the history
  • Loading branch information
helios2003 authored Apr 11, 2024
1 parent 7e38ce2 commit 0676c47
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 @@ -140,7 +140,7 @@
"bump:version": "npm --no-git-tag-version --allow-same-version version $VERSION",
"dev": "tsc --watch",
"docker:build": "docker build -t asyncapi/cli:latest .",
"generate:readme:create": "printf '\n\n# Usage\n\n<!-- usage -->\n\n# Commands\n\n<!-- commands -->\n' > scripts/README.md",
"generate:readme:create": "node -e \"const fs = require('fs'); fs.writeFileSync('scripts/README.md', '# Usage\\n\\n<!-- usage -->\\n\\n# Commands\\n\\n<!-- commands -->\\n');\"",
"generate:readme:commands": "npm run build && cd scripts && cross-env DEBUG=* oclif readme",
"generate:assets": "npm run generate:readme:toc && npm run generate:commands",
"generate:commands": "npm run generate:readme:create && npm run generate:readme:commands && node ./scripts/updateUsageDocs.js && rimraf ./scripts/README.md",
Expand Down

0 comments on commit 0676c47

Please sign in to comment.