Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: running bash scripts on windows #138

Merged
merged 1 commit into from
Jul 18, 2022
Merged

Conversation

v-gevak
Copy link
Contributor

@v-gevak v-gevak commented Jul 11, 2022

  • Исправил команду postinstall, так как не работала на OS Windows.
  • Добавил пункт в Readme с описанием того, как запускать bash скрипты на OS windows.

@v-gevak v-gevak force-pushed the chore/bash_scripts_windows branch from d1269aa to 060ae7c Compare July 11, 2022 10:45
@core-ds-bot
Copy link
Collaborator

Собрана новая демка.

@coveralls
Copy link

coveralls commented Jul 11, 2022

Pull Request Test Coverage Report for Build 2689726344

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 82.007%

Totals Coverage Status
Change from base Build 2689578130: 0.0%
Covered Lines: 5732
Relevant Lines: 6448

💛 - Coveralls

@v-gevak v-gevak force-pushed the chore/bash_scripts_windows branch from 060ae7c to 993f300 Compare July 11, 2022 12:14
@core-ds-bot
Copy link
Collaborator

Собрана новая демка.

@@ -10,7 +10,7 @@
"dist"
],
"scripts": {
"postinstall": "node ./dist/send-stats.js > /dev/null 2>&1 || exit 0"
"postinstall": "(node -e \"if (!require('fs').existsSync('./dist/send-stats.js')){process.exit(0)}else{require('./dist/send-stats.js')} \")"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

А как send-stats может не существовать?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

send-stats.js в build.sh из bin копируется в dist. Т.е в собранных пакетах он есть, а в самом репо нет.

@v-gevak v-gevak force-pushed the chore/bash_scripts_windows branch from 993f300 to c02a00c Compare July 18, 2022 10:07
@core-ds-bot
Copy link
Collaborator

Собрана новая демка.

@v-gevak v-gevak merged commit 41e3f49 into master Jul 18, 2022
@v-gevak v-gevak deleted the chore/bash_scripts_windows branch July 18, 2022 11:05
@core-ds-bot
Copy link
Collaborator

🎉 This PR is included in version 28.4.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Доработать dev окружение для работы на windows
6 participants